Cacti not collecting data anymore

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

Moderators: Developers, Moderators

Post Reply
NSLRACER
Posts: 5
Joined: Tue Oct 23, 2007 3:26 pm
Location: Los Angeles
Contact:

Cacti not collecting data anymore

Post by NSLRACER »

Hello. First let me start off by saying that I'm mostly a Windows admin and know very little of Linux so if I say something stupid please forgive me.

I've been charged with finding out why Cacti is no longer collecting data and I'm a little stumped as to where to start.

Historical data does come up but only until eary September of this year. After that it just stopped collecting. Since historical data does come up then that leads me to believe that it is talking to MySQL just fine and that MySQL is in fact running. Am I correct in those assumptions?

Nothing is being logged in Cacti log so I can see anything that would help me troubleshoot.

Any ideas? I appreciate any help.
NSLRACER
Posts: 5
Joined: Tue Oct 23, 2007 3:26 pm
Location: Los Angeles
Contact:

Post by NSLRACER »

oh and I checked to see if disk space was ok using the df -m command and it says that the main drive is only 54% full.

Maybe SNMP isn't working?

Is there a command that I can execute to check against just one device?
twelsh
Posts: 2
Joined: Wed Aug 22, 2007 6:54 am
Location: UK

Post by twelsh »

NSLRACER wrote:oh and I checked to see if disk space was ok using the df -m command and it says that the main drive is only 54% full.

Maybe SNMP isn't working?

Is there a command that I can execute to check against just one device?
Hi Guy,

Try this out

snmpwalk -c Your ComunityString -v 2c IPADDRESS | grep System

This should return your system info at least. If it dosent then snmp is either stopped working or someone has changed your CommunityString

I get the following back, but Im sure yours will be different

----------------<SNIP>----------------
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (446010206) 51 days, 14:55:02.06
HOST-RESOURCES-MIB::hrSystemDate.0 = STRING: 2007-10-24,12:14:12.0,+1:0
HOST-RESOURCES-MIB::hrSystemInitialLoadDevice.0 = INTEGER: 1536
HOST-RESOURCES-MIB::hrSystemInitialLoadParameters.0 = Hex-STRING: 72 6F 6F 74 3D 2F 64 65 76 2F 76 67 30 31 2F 72
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 0
HOST-RESOURCES-MIB::hrSystemProcesses.0 = Gauge32: 70
HOST-RESOURCES-MIB::hrSystemMaxProcesses.0 = INTEGER: 0
----------------<SNIP>----------------

Hope that helps

Tom
snmpwalker247
Posts: 2
Joined: Tue Oct 23, 2012 9:37 am

Re:

Post by snmpwalker247 »

twelsh wrote:
NSLRACER wrote:oh and I checked to see if disk space was ok using the df -m command and it says that the main drive is only 54% full.

Maybe SNMP isn't working?

Is there a command that I can execute to check against just one device?
Hi Guy,

Try this out

snmpwalk -c Your ComunityString -v 2c IPADDRESS | grep System

This should return your system info at least. If it dosent then snmp is either stopped working or someone has changed your CommunityString

I get the following back, but Im sure yours will be different

----------------<SNIP>----------------
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (446010206) 51 days, 14:55:02.06
HOST-RESOURCES-MIB::hrSystemDate.0 = STRING: 2007-10-24,12:14:12.0,+1:0
HOST-RESOURCES-MIB::hrSystemInitialLoadDevice.0 = INTEGER: 1536
HOST-RESOURCES-MIB::hrSystemInitialLoadParameters.0 = Hex-STRING: 72 6F 6F 74 3D 2F 64 65 76 2F 76 67 30 31 2F 72
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 0
HOST-RESOURCES-MIB::hrSystemProcesses.0 = Gauge32: 70
HOST-RESOURCES-MIB::hrSystemMaxProcesses.0 = INTEGER: 0
----------------<SNIP>----------------

Hope that helps

Tom
snmpwalker247
Posts: 2
Joined: Tue Oct 23, 2012 9:37 am

Re: Cacti not collecting data anymore

Post by snmpwalker247 »

Hi Tom,

Im in the same situation, Cacti stops drawing suddenly. snmpwalk output:

Copyright (c) 1986-2006 by Cisco Systems, Inc.
oldCiscoSystemCapabilityV10R02 AGENT-CAPABILITIES


it takes a long time to show this. is this significant?

I´ve rebuild the poller cache too

:roll:

Please Help.

Thanks in adavance.
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti not collecting data anymore

Post by cigamit »

Cacti Version? Is it happening to all graphs? How far back exactly (days) does it begin to disappear?

Also, historical data is not stored in MySQL, just the configuration information. Historical data is stored in the RRD files. Some historical data issues are caused by the RRA settings. Can you please post your RRA Settings, and then pick a graph that it is happening to, you post which RRA's the data template for that graph is using.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests