All seems well but no graphs

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

sbehrens
Posts: 15
Joined: Wed Jun 08, 2005 1:24 pm

All seems well but no graphs

Post by sbehrens »

I have been using cacti since June graphing 175 hosts. There doesnt seem to be any new data since about two weeks ago and no graph images are displayed for any host. The last timestamp in my rra directory is two weeks ago. I went ahead and dumped the database and all seems well nothing is corrupt. Here is what the log looks like

Code: Select all

08/18/2005 09:01:11 AM - CMDPHP: Poller[0] Host[133] WARNING: Result from SNMP not valid.  Partial Result:
08/18/2005 09:01:11 AM - CMDPHP: Poller[0] Host[133] WARNING: Result from SNMP not valid.  Partial Result:
08/18/2005 09:01:11 AM - CMDPHP: Poller[0] Host[133] WARNING: Result from SNMP not valid.  Partial Result:
08/18/2005 09:01:39 AM - CMDPHP: Poller[0] Time: 37.9586 s, Theads: N/A, Hosts: 175
Any help would be appreciated!

--Scott
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

What is the size of you log file?

Have you attempted to turn the logging level to debug and see if that give you more information to solve the issue?
[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]
sbehrens
Posts: 15
Joined: Wed Jun 08, 2005 1:24 pm

Post by sbehrens »

The logfile was about 30 megs. I went ahead and rotated it before running the debug mode. Nothing was apparently obvious in the logfile after the debug. Before runnning the debug mode i went ahead and patched the cmd.php file after reading some previous posts. NO graphs were generated as well.

--Scott

would you like me to mail the debug log (6000 lines)?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Double check your path to rrdtool in your settings and the version as well. Remember, it wants the full path to the binary executable.
[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]
sbehrens
Posts: 15
Joined: Wed Jun 08, 2005 1:24 pm

Post by sbehrens »

I actually didnt have the complete path in the rrd section of my settings. I went ahead and added that but still no newly generated graphs. The version of cacti i am using is Version 0.8.6d .
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) I suggest you upgrade to 0.8.6f

2) Turn the polling level in cacti to debug (Settings | Polling level) for one cycle and paste the output of the log file. If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.
sbehrens
Posts: 15
Joined: Wed Jun 08, 2005 1:24 pm

Post by sbehrens »

So i changed it to debug and i still recieve 6000 lines in my logfile. I think the reason there is so much data because of the number of hosts/services im collecting data for. there are no 'weblog' entries and all 'webevent' options are not turned on. I have also upgraded to version 0.8.6f.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

The point of turning on debug mode was so you could look through the log file and get the details why you get Host[133] WARNING: Result from SNMP not valid. Partial Result: .
sbehrens
Posts: 15
Joined: Wed Jun 08, 2005 1:24 pm

Post by sbehrens »

IT looks like i recieve this data on only 4 hosts. These hosts might actually be down which is why they arent getting SNMP results back. After looking through the debug log there is never anything about rrd running and no other errors suggesting that it is either having a problem creating the graphs or actually creating them at all. It looks like it runs the snmp queries and gets data but never genrates anything with it.

Code: Select all

8/22/2005 01:25:02 PM - CMDPHP: Poller[0] Host[2] DS[90] WARNING: Result from SNMP not valid.  Partial Result:
08/22/2005 01:25:02 PM - CMDPHP: Poller[0] Host[2] DS[90] SNMP: v1: 192.5.198.97, dsname: hdd_free, oid: .1.3.6.1.4.1.2021.9.1.7.5, output: U
08/22/2005 01:25:02 PM - CMDPHP: Poller[0] Host[2] DS[90] WARNING: Result from SNMP not valid.  Partial Result:
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Poller[0] Host[2] DS[90] SNMP: v1: 192.5.198.97, dsname: hdd_free, oid: .1.3.6.1.4.1.2021.9.1.7.5, output: U

This means that OID is not valid. Check the script or data source, which has set this OID to be queried and correct it for each instance the output was U.
sbehrens
Posts: 15
Joined: Wed Jun 08, 2005 1:24 pm

Post by sbehrens »

I went ahead and took a look at why i was recieving a partial result. Strange...it was only on my ia64 login machines. They have one less mounted partition than all my other hosts. Running the snmpget manually shows that they dont have an OID. I went ahead and just temporally removed those hosts. Still no new graphs have been created. Should there be anything in the logs about the rrdtool at all? i thought i read in a previous post that usually the rrdtool prints entries in the logs...

--Scott
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Yes, you should be setting entries starting with CACTI2RRD. These take the data and create/update the rrd files (obviously calling rrdtool.exe).
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You may have to go into mysql and "truncate table poller output;". In addition, increase the max_memory setting for PHP.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
sbehrens
Posts: 15
Joined: Wed Jun 08, 2005 1:24 pm

Post by sbehrens »

I went ahead and truncated the poller_output. Nothing about rrd in the logs still and no graphs or files in my rra/ directory. if i run the following command in mysql

Code: Select all

select * from poller_output
I see a bunch of data but no graphs in the rra directory.

Arg!
sbehrens
Posts: 15
Joined: Wed Jun 08, 2005 1:24 pm

Post by sbehrens »

i noticed that in the database there is '<path_rra>'. Is that supposed to be set somewhere like the paths?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests