Cron is configured to run too often
Moderators: Developers, Moderators
Cron is configured to run too often
I'm having some serious issues here. Since last night, the poller won't run anymore. It keeps giving this error:
01/03/2008 03:30:02 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 -5013141 seconds have passed since the poller last ran.
01/03/2008 03:30:02 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '-5013141', Max Runtime '298', Poller Runs: '1'
I did some misconfigurations yesterday and on some systems, the date went wrong. I guess this is the reason that the poller can't run anymore. Is there a way to reset the time since last run parameter? I browsed a bit through the source and truncated the table poller_time, but the problem stays.
01/03/2008 03:30:02 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 -5013141 seconds have passed since the poller last ran.
01/03/2008 03:30:02 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '-5013141', Max Runtime '298', Poller Runs: '1'
I did some misconfigurations yesterday and on some systems, the date went wrong. I guess this is the reason that the poller can't run anymore. Is there a way to reset the time since last run parameter? I browsed a bit through the source and truncated the table poller_time, but the problem stays.
I messed up pretty bad I think .
Only the yearly graph is looking good, the others are somehow less precise and the since I got the poller running again, nothing shows at all! I got no errors in the cacti log and also debugging the graphs gives me an OK.
What could be going on here?
Only the yearly graph is looking good, the others are somehow less precise and the since I got the poller running again, nothing shows at all! I got no errors in the cacti log and also debugging the graphs gives me an OK.
What could be going on here?
- Attachments
-
- graphs.JPG (76.95 KiB) Viewed 15053 times
When I run poller.php manually I see this for all the rrd's:
ERROR: illegal attempt to update using time 1199413197 when last update time is 1204383748 (minimum one second step)
I guess the rrd now contains data from an incorrect time... I searched a bit how to manually edit rrd's but I gave up and just deleted everything. A shame (thread may be closed)
ERROR: illegal attempt to update using time 1199413197 when last update time is 1204383748 (minimum one second step)
I guess the rrd now contains data from an incorrect time... I searched a bit how to manually edit rrd's but I gave up and just deleted everything. A shame (thread may be closed)
Change line in poller.php to TRUE and run poller manual
Change it back to FALSE
Code: Select all
$force = FALSE;
Code: Select all
php /var/www/html/poller.php
Awesome, this fixed up my issue i had today when my clock on the server when out of whack.pgus wrote:Change line in poller.php to TRUE and run poller manual
Code: Select all
$force = FALSE;
Change it back to FALSECode: Select all
php /var/www/html/poller.php
Re: Cron is configured to run too often
This helped me too. Thanks!
Who is online
Users browsing this forum: No registered users and 0 guests