For some addtiona information, when I query the poller_output table it is empty. My cacti logs look like this.  You may note that for some reason the time is off.  If I manually run poller then it enters a log entry that is an hour in the future…  What is up with that?  All clocks are set to the correct local time.

 

03/19/2007 01:03:02 PM - CMDPHP: Poller[0] Host[2] DS[8] WARNING: Result from SNMP not valid.  Partial Result:

03/19/2007 01:03:03 PM - SYSTEM STATS: Time:1.1111 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:8

03/19/2007 02:15:34 PM - CMDPHP: Poller[0] Host[2] DS[8] WARNING: Result from SNMP not valid.  Partial Result:

03/19/2007 02:15:35 PM - SYSTEM STATS: Time:1.0348 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:8

03/19/2007 03:01:35 PM - CMDPHP: Poller[0] Host[2] DS[8] WARNING: Result from SNMP not valid.  Partial Result:

03/19/2007 03:01:36 PM - SYSTEM STATS: Time:1.0432 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:8

03/19/2007 03:36:50 PM - CMDPHP: Poller[0] Host[2] DS[8] WARNING: Result from SNMP not valid.  Partial Result:

03/19/2007 03:36:51 PM - SYSTEM STATS: Time:1.0274 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:8

03/19/2007 04:53:37 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.

03/19/2007 04:53:37 PM - SYSTEM STATS: Time:292.9148 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:0

 


From: plug-discuss-bounces@lists.plug.phoenix.az.us [mailto:plug-discuss-bounces@lists.plug.phoenix.az.us] On Behalf Of Bryan O'Neal
Sent: Monday, March 19, 2007 3:32 PM
To: Main PLUG discussion list; asulug@asu.edu
Subject: cacti help - no data on graphs

 

Ok, so I set it all up, but there were no graphs, so I read the docs and tested by executing poller.php manual, at which point the rra data appeared and I had graphs, but no data on those graphs.  I reset the permissions on the .rrd files to cacti/cacti 664 but still nothing.  I checked cron and it had a cacti file in cron.d with the line

#*/5 * * * *         cacti     /usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1

And if I execute /usr/bin/php /usr/share/cacti/poller.php directly it does work to refresh the data in /usr/share/cacti/rra/ but I am not sure what > dev/null 2>&1 is doing.  If I execute poller with that on the end it does not seem to do anything.  And still no graph data.

 

I am using cacti 0.8.6i with php 5.1.6 and snmp V1 to get data and if I run ‘snmpget -v 1 -c public 192.168.2.50 1.3.6.1.2.1.2.2.1.10.51’ from the command line I get counter data.

 

Any thoughts?

 

 

Bryan O'Neal
Cornerstone Homes & Development, Inc.

4220 E. McDowell Rd Ste. #108
Mesa, AZ 85215
(480) 505-1900