Upgrade 8.0 to 8.5 made some (not all) graphs stop working

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
MikeR

Upgrade 8.0 to 8.5 made some (not all) graphs stop working

Post by MikeR »

Hello all. I've been using cacti for about a year and dearly love it. Yesterday, I upgraded from 0.8.0 to 0.8.5 and the upgrade process appeared to go well - no errors reported. However, after it had been running for a while I noticed that about 10 out of 319 graphs just stopped updating. All 10 are on the same device (Cisco 3550). I looked at the various debug outputs and they all look fine. I checked the permissions on the new cacti directory - everything there looks good too.

Running cmd.php from a command line results in a "system cannot find the file specified" error, but the .rrd files are in the same directory with all of the rest, with the same permissions as all the other .rrd files.

What files can it not find? I'm sure I've overlooked something but for the life of me can't figure out what it is. Any thoughts?

Thanks!
MikeR

Additional info

Post by MikeR »

A little more information:

Components - W2K Server, all latest service packs and patches applied; Apache 2.0.46, PHP 4.3.2, Cacti 0.8.5. Like I mentioned, all this worked fine before - the only thing that has changed is Cacti.

I just saw an interesting error - If I click on the "Devices" category then on the device in question, I see "SNMP Error" in red up at the top. However, under "Associated Data Queries" it says Status - Success [127 Items, 20 Rows]. If I click on "Verbose Query" under "Debugging", I get a result that looks like this:

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'D:\Apache\Apache2\htdocs\cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned

If I point GetIf or a similar tool at the device, that same OID returns all of the usual info. I'm using the same SNMP community string all around.

Weird. Any ideas?
Lux
Cacti User
Posts: 195
Joined: Tue Nov 11, 2003 10:57 am
Location: Luxembourg

Post by Lux »

Mike, I had the same problem. There seems to be a problem with Cacti 0.8.5 on a windows platform. At least, I haven't found anyone who has successfully set this up yet. If you made a backup of your database before doing the upgrade, then I would suggest that you restore the old database and then install Cacti 0.8.4. I have been running it for about 3 months now without any major problems.

Mike
MikeR

Fixed it

Post by MikeR »

Thanks for the info Lux. What I ended up doing was deleting and recreating the one device that was misbehaving. Fortunately it only affected a small amount of graphs. After recreating the device and rebooting the box to make sure all services were restarted, I was able to associate the new device with the old .rrd files and graphs and all was well. I only have a gap of about 14-16 hours in those graphs, which I can live with.

No idea what caused this to happen, and even stranger that it would affect only one of my devices being monitored.
Lux
Cacti User
Posts: 195
Joined: Tue Nov 11, 2003 10:57 am
Location: Luxembourg

Post by Lux »

So Cacti 0.8.5 is working for you? I may have to pick your brain on this one then, as I haven't been able to get it working at all.

Mike
MikeR

Working fine

Post by MikeR »

Yes, 0.8.5 is working fine for me. I followed the upgrade instructions, logged on to the configuration screen, changed the path to rrd.exe (cacti didn't find it), and everything went well - with the exception of the graphs on this one host. I just deleted and re-added the device and it started working agin.

I still don't have a clue why this happened or why only one device was affected, but it ended up being fairly painless to fix.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests