[SOLVED] All Graphs Stopped At The Same Time

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

Moderators: Developers, Moderators

Post Reply
User avatar
alliedops
Posts: 3
Joined: Thu Nov 29, 2007 2:23 pm

[SOLVED] All Graphs Stopped At The Same Time

Post by alliedops »

I just inherited a production cacti installation when the fellow who built it suddenly didn't work here any more. :roll:

Previously I had used it, i.e., adding devices, creating graphs and adding users, but I know nothing about its innards.

It appears all graphs stopped updating about 4 days ago.

I have a screen shot here: http://openqbl.org/preview/cacti.jpg

Cacti 0.8.6j running on CentOS 2.6.9-42.0.10.plus.c4smp
I have root and am moderately fluent in *n*x, though most of my experience is on slackware boxes.

I will repeat I know nothing about cacti innards. I am slowly twisting in the wind and could really use a hero about now.
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

can you check that :
  • the poller is running (check timestamp of log/cacti.log)
  • your server time has not changed back (RRDtool does not like it)
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
alliedops
Posts: 3
Joined: Thu Nov 29, 2007 2:23 pm

Post by alliedops »

I found the immediate problem: the cacti.log file was 2.1 gigs, the limit for the file system. Not being able to write to the log apparently mucks things up. I set up a cron job to zero out the file periodically and graphing has resumed. Short term fix.

Now I need to find out why there are so many errors being written to the log. Here is a sample:

11/30/2007 02:46:47 PM - CMDPHP: Poller[0] Host[69] DS[3959] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
11/30/2007 02:46:47 PM - CMDPHP: Poller[0] Host[69] DS[3959] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
11/30/2007 02:46:47 PM - CMDPHP: Poller[0] Host[69] DS[3961] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
11/30/2007 02:46:47 PM - CMDPHP: Poller[0] Host[69] DS[3961] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
11/30/2007 02:46:47 PM - CMDPHP: Poller[0] Host[69] DS[3962] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
11/30/2007 02:46:47 PM - CMDPHP: Poller[0] Host[69] DS[3962] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
11/30/2007 02:46:47 PM - CMDPHP: Poller[0] Host[69] DS[3963] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
11/30/2007 02:46:47 PM - CMDPHP: Poller[0] Host[69] DS[3963] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
11/30/2007 02:46:47 PM - CMDPHP: Poller[0] Host[69] DS[3964] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
11/30/2007 02:46:47 PM - CMDPHP: Poller[0] Host[69] DS[3964] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur

Once I can figure out what is causing the errors I can try to address them.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

alliedops wrote:I found the immediate problem: the cacti.log file was 2.1 gigs, the limit for the file system. Not being able to write to the log apparently mucks things up. I set up a cron job to zero out the file periodically and graphing has resumed. Short term fix.
Please consider http://docs.cacti.net/node/435 as a long term fix.
Please re-open a new thread for your second problem
Reinhard
User avatar
alliedops
Posts: 3
Joined: Thu Nov 29, 2007 2:23 pm

Post by alliedops »

gandalf wrote:
alliedops wrote:I found the immediate problem: the cacti.log file was 2.1 gigs, the limit for the file system. Not being able to write to the log apparently mucks things up. I set up a cron job to zero out the file periodically and graphing has resumed. Short term fix.
Please consider http://docs.cacti.net/node/435 as a long term fix.
Please re-open a new thread for your second problem
Reinhard
Thank you, sir. I have an idea that the errors themselves are being created by discovered interfaces that either can't or aren't talking snmp. No all I've gotta do is figure out how that works. I love my job.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests