everything is good when cacti 0.8.7b use cmd.php to grasp snmp data.
However, when I changed the poller from cmd.php to spine, I got some messages in cacti log, as follows:
cacti can't call RRDs to draw graph, and I searched poller.php, I found the following codes, maybe useful:07/16/2008 10:35:01 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
07/16/2008 10:30:00 AM - SYSTEM STATS: Time:299.3580 Method:spine Processes:1 Threads:5 Hosts:11 HostsPerProcess:11 DataSources:127 RRDsProcessed:0
07/16/2008 10:30:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
07/16/2008 10:25:00 AM - SYSTEM STATS: Time:298.3690 Method:spine Processes:1 Threads:1 Hosts:11 HostsPerProcess:11 DataSources:127 RRDsProcessed:0
07/16/2008 10:25:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
07/16/2008 10:20:00 AM - SYSTEM STATS: Time:299.3933 Method:spine Processes:1 Threads:5 Hosts:11 HostsPerProcess:11 DataSources:127 RRDsProcessed:0
07/16/2008 10:20:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
07/16/2008 10:15:00 AM - SYSTEM STATS: Time:298.3347 Method:spine Processes:1 Threads:5 Hosts:11 HostsPerProcess:11 DataSources:127 RRDsProcessed:0
07/16/2008 10:15:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
07/16/2008 10:10:00 AM - SYSTEM STATS: Time:299.3317 Method:spine Processes:1 Threads:5 Hosts:11 HostsPerProcess:11 DataSources:127 RRDsProcessed:0
Code: Select all
/* end the process if the runtime exceeds MAX_POLLER_RUNTIME */
if (($poller_start + MAX_POLLER_RUNTIME) < time()) {
cacti_log("poller_start =" . $poller_start , "Maximum runtime of ". MAX_POLLER_RUNTIME , " time" . time() , true, "POLLER");
rrd_close($rrdtool_pipe);
cacti_log("Maximum runtime of " . MAX_POLLER_RUNTIME . " seconds exceeded. Exiting.", true, "POLLER");
I don't know the mean of $poller_start and time(), anyone can help me to explain it ? or give me a solution about this problem ? thank you very much.07/16/2008 11:20:00 AM - SYSTEM STATS: Time:299.3396 Method:spine Processes:1 Threads:5 Hosts:11 HostsPerProcess:11 DataSources:127 RRDsProcessed:0
07/16/2008 11:20:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
07/16/2008 11:20:00 AM - POLLER: Poller[0] poller_start =1216178101.27Maximum runtime of 298 time1216178400
07/16/2008 11:15:01 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
07/16/2008 11:15:00 AM - SYSTEM STATS: Time:298.3415 Method:spine Processes:1 Threads:5 Hosts:11 HostsPerProcess:11 DataSources:127 RRDsProcessed:0
07/16/2008 11:15:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
07/16/2008 11:15:00 AM - POLLER: Poller[0] poller_start =1216177801.75Maximum runtime of 298 time1216178100
07/16/2008 11:10:01 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'