can anyone help me out here, the poller randomly won't run, all my
graphs have more holes in them than data. Here is an example of the
problem, I check the data in the poller_time table, then check the
system time, then try and run the poller and it tells me only 61
seconds have passed when 361 seconds have passed. What's it doing??
Code: Select all
select * from cacti.poller_time:
+----+-----+-----------+---------------------+---------------------+
| id | pid | poller_id | start_time | end_time |
+----+-----+-----------+---------------------+---------------------+
| 1 | 0 | 0 | 2011-06-06 17:10:33 | 2011-06-06 17:10:33 |
| 2 | 0 | 0 | 2011-06-06 17:10:43 | 2011-06-06 17:10:43 |
+----+-----+-----------+---------------------+---------------------+
Code: Select all
# date
Mon Jun 6 17:16:07 BST 2011
Code: Select all
# su - cacti -c "/usr/local/bin/php /usr/home/cacti/poller.php"
06/06/2011 05:16:09 PM - POLLER: Poller[0] NOTE: Poller Int: '300',
Cron Int: '300', Time Since Last: '69', Max Runtime '298', Poller
Runs: '1'
06/06/2011 05:16:09 PM - POLLER: Poller[0] NOTE: Cron is configured to
run too often! The Poller Interval is '300' seconds, with a minimum
Cron period of '300' seconds, but only 69 seconds have passed since
the poller last ran.
It's really curious that when its incorrectly saying that only X number of seconds have passed that X seems to be always the real number of seconds + some multiple of 300.
I'm very stumped, been looking at this for the last 2 days and can't work it out, any help much appreciated,
thanks Andy.