Search found 23 matches

by Chris W
Mon Mar 05, 2007 9:16 am
Forum: Informational/HOWTO's
Topic: [HOWTO] Upgrade cacti installation from MySQL 4.1 to 5.0
Replies: 0
Views: 6222

[HOWTO] Upgrade cacti installation from MySQL 4.1 to 5.0

I had a lot of trouble with permissions going from MySQL 4.1 to 5.0. I thought I'd be okay by just using mysqldump on the mysql and cacti databases from MySQL 4.1 and importing them to 5.0, but as soon as I'd try and load cacti I'd get this error message: Error You have created a new database, but h...
by Chris W
Mon Oct 02, 2006 12:56 pm
Forum: Help: Linux/Unix Specific
Topic: Having issues getting cacti running on Mac OS 10.4.7
Replies: 19
Views: 6700

LOL, don't feel bad. :) You probably need to put this in your Apache config file, then restart Apache. Make sure you put each line where it's supposed to go! LoadModule php5_module modules/libphp5.so DirectoryIndex index.html index.html.var index.php AddType application/x-httpd-php .php .phtml
by Chris W
Mon Oct 02, 2006 8:20 am
Forum: Help: Linux/Unix Specific
Topic: Having issues getting cacti running on Mac OS 10.4.7
Replies: 19
Views: 6700

This one is easy!

You want this:

./configure --prefix=/opt/local/php --with-apxs2=/opt/local/apache2/bin/apxs --with-mysql=/opt/local
by Chris W
Fri Sep 29, 2006 2:58 pm
Forum: Help: Linux/Unix Specific
Topic: Having issues getting cacti running on Mac OS 10.4.7
Replies: 19
Views: 6700

Compiling from source is actually really easy. I'm running my cacti installation on a 10.4.7 client that's only a G4... Install MySQL: ./configure --prefix=/usr/local && make && make install Install Apache: ./configure --prefix=/usr/local && make && make install Insta...
by Chris W
Fri Sep 29, 2006 2:01 pm
Forum: Help: Linux/Unix Specific
Topic: Having issues getting cacti running on Mac OS 10.4.7
Replies: 19
Views: 6700

Huh. That's weird. I don't know what else to suggest :| Frankly, I got tired of screwing around with the DarwinPorts of MySQL and Cacti; in the end I compiled Apache, PHP and MySQL from source and was done in about an hour. I'd spent *hours* hacking at the DarwinPorts of those programs trying to get...
by Chris W
Fri Sep 29, 2006 1:02 pm
Forum: Help: Linux/Unix Specific
Topic: Having issues getting cacti running on Mac OS 10.4.7
Replies: 19
Views: 6700

You said this: it looks to me like it's trying to connect to the SQL db on the wrong socket (/var/mysql/mysqld.sock). I have updated my /private/etc/php.ini.default to reflect mysql.default_socket = /opt/local/var/run/mysql5/mysqld.sock, however php doesn't seem to care and wants to access my databa...
by Chris W
Fri Sep 29, 2006 12:23 pm
Forum: Help: Linux/Unix Specific
Topic: Having issues getting cacti running on Mac OS 10.4.7
Replies: 19
Views: 6700

Can you do something for me? Make a file called, say, test.php and put it in your htdocs (like /Library/WebServer/Documents or wherever). In the file, just put this line: <?php phpinfo(); > And access the file in your browser. It should show you what version of PHP the web server is looking at, whet...
by Chris W
Fri Sep 29, 2006 9:42 am
Forum: Help: General
Topic: Cisco 4006: no data from aggregated interfaces?
Replies: 7
Views: 2292

Well, snmpwalk dumped a ton of data! The switch has a lot of stuff connected to it. I don't know how to interpret this file, but the Catalyst ports that are aggregrated (the ones I can't get data out of) are 4/17 and 4/18.

Click here for the output (90KB).
by Chris W
Fri Sep 29, 2006 9:26 am
Forum: Help: General
Topic: Cisco 4006: no data from aggregated interfaces?
Replies: 7
Views: 2292

Thanks, I'll try the walk in a second and let you know.

But I could have sworn that I've gotten info for the aggregated interfaces in the past. I think it's strange, though, that the PAgP links show data but the 802.3ad links don't?
by Chris W
Fri Sep 29, 2006 9:10 am
Forum: Help: General
Topic: Cisco 4006: no data from aggregated interfaces?
Replies: 7
Views: 2292

Where do I pull the info from so that I can use snmpwalk? e.g. the MIBs or whatever?
by Chris W
Fri Sep 29, 2006 9:07 am
Forum: Help: General
Topic: Cisco 4006: no data from aggregated interfaces?
Replies: 7
Views: 2292

I'll try walking it, I've never really done it by hand though! It's running a SUP 2+ and CatOS 8.1(2).
Uptime is 708 days, 10 hours, 52 minutes
It's not new, but it's reliable!
by Chris W
Fri Sep 29, 2006 8:45 am
Forum: Help: General
Topic: Cisco 4006: no data from aggregated interfaces?
Replies: 7
Views: 2292

Noone knows what I can do to fix this? :(
by Chris W
Fri Sep 29, 2006 8:44 am
Forum: Help: Linux/Unix Specific
Topic: Having issues getting cacti running on Mac OS 10.4.7
Replies: 19
Views: 6700

darthbator: Are you using the "Personal Web Server" built-in with OS X? Or did you compile Apache yourself? Did you install cacti yourself, or did you get it from DarwinPorts/MacPorts? I had a similar problem to you, I was using the OS X Personal Web Server and it would use the wrong versi...
by Chris W
Mon Sep 25, 2006 8:02 am
Forum: Help: Linux/Unix Specific
Topic: Error after move and upgrade
Replies: 2
Views: 896

The MySQL database contains the list for paths for cacti to use. When you changed machines, did you change paths?

For example:

old machine /usr/local/cacti
new machine /opt/local/cacti

You may need to change settings.
by Chris W
Thu Sep 21, 2006 12:35 pm
Forum: Help: General
Topic: SNMP OID's
Replies: 2
Views: 1285

The short answer: it depends. The long answer: it depends on what applications you're using to provide the services. Both Exchange and Sendmail are SMTP servers, but they will support SNMP in completely different ways (and thus have different MIBs and OIDs). You need to speak to the manufacturer of ...