Graphs not updating, been working fine for 4 years

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
vaiojunkie
Posts: 9
Joined: Sun Nov 19, 2006 5:34 pm

Graphs not updating, been working fine for 4 years

Post by vaiojunkie »

Hi Guys

I hope you can help.

Since 02:25am On Tuesday the 8th of May my graphs have stopped updating. This is the second time this has happened.

The first time this happened was just after I upgraded to cacti-0.8.6j. The fix for this was simple, Flush the poller cache.

This time however flushing the cache does not help.

Specs
cacti-0.8.6j
Cactid
Debian Sarge
PHP4
Mysql 4

No errors appear in the logs, the permissions are also correct in the rra and other folders. Even when I run the poller as root nothing is updated.

I've been running Cacti on this server for about 4 years now, each update has gone smoothly. Version j has been running since the release.

The ntp server also stopped around this time, however the machine still had the correct time and ntp has since been restarted.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Run the poller in debug from the command line. See if you get anymore information.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
vaiojunkie
Posts: 9
Joined: Sun Nov 19, 2006 5:34 pm

Post by vaiojunkie »

How do I do that ?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

In the web interface Settings -> General -> Poller Logging Level

Then run the poller manually as the user that runs the poller.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
vaiojunkie
Posts: 9
Joined: Sun Nov 19, 2006 5:34 pm

Post by vaiojunkie »

Sorry I thought you meant there was a way to add the debug flag on the poller manually.

Anyway I've been running with Debug and there are no errors at all.
Output below

Control:~/cacti$ php poller.php
05/08/2007 02:37:59 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/bin/cactid, ARGS: 0 133]
Waiting on 1/1 pollers.
Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline]
[-p pattern] [-s packetsize] [-t ttl] [-I interface or address]
[-M mtu discovery hint] [-S sndbuf]
[ -T timestamp option ] [ -Q tos ] [hop1 ...] destination


I have patched vJ with all latest patches.

Log file attached (IP's and hostnames changed)
Attachments
cacti.zip
(56.5 KiB) Downloaded 95 times
vaiojunkie
Posts: 9
Joined: Sun Nov 19, 2006 5:34 pm

Post by vaiojunkie »

Ok

I've just found a error in the latest log

05/08/2007 03:40:11 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '0-1-106:1' for key 1
05/08/2007 03:40:11 PM - CACTID: Poller[0] ASSERT: 'SNMP ERROR
vaiojunkie
Posts: 9
Joined: Sun Nov 19, 2006 5:34 pm

Post by vaiojunkie »

Also I've noticed that in the debug output the log is coming from CMDPHP but I have Cactid enabled.

Does cacti use CMDPHP in debug mode and cactid in normal mode (if selected). I ask this because I have now turned off debug and cacti log reports from cactid


???

Wayne
vaiojunkie
Posts: 9
Joined: Sun Nov 19, 2006 5:34 pm

Fixed

Post by vaiojunkie »

I've fixed it :D


I reverted to a backup of version h (web files and DB). This worked as normal. The next step was to upgrade back up to version j.

So far its working a treat. and I've only lost 20 hours of data.


Wayne
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests