I am getting the aforementioned error message and I know for a fact cron is running successfully because it is in my crond log with the php command.
Yet is still get this error:
01/09/2009 12:11:20 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '60' seconds, with a maximum of a '300' second Cron, but 79 seconds have passed since the last poll!
Any ideas ?
[SOLVED] Cron out of sync with Poller Interval cacti 0.8.7a
Moderators: Developers, Moderators
-
- Posts: 47
- Joined: Tue Oct 21, 2008 6:16 pm
TIME CHANGE ON LINUX -> PHP POLLER.PHP STOPPED WORKING
All,
Good morning. After reading the posts noticed that although my script was running, attempting to force it to manually using php poller.php was not working.
Looked over all of your notes, and for me, the reason the poller.php stopped working was because the time was off on my machine, and had synced it with an ntp server.
This unfortunately caused me to get the following since my time was ahead of current time:
07/14/2009 11:49:01 AM - POLLER: Poller[0] NOTE: Cron is configured to run too often! The Poller Interval is '60' seconds, with a minimum Cron period of '60' seconds, but only -31382 seconds have passed since the poller last ran.
After adding in --force, the problem was resolved:
*/1 * * * * php /var/www/html/poller.php --force > /dev/null 2>&1
In either case, thank you for your help with the great post as it pointed me to the right direction.
Good morning. After reading the posts noticed that although my script was running, attempting to force it to manually using php poller.php was not working.
Looked over all of your notes, and for me, the reason the poller.php stopped working was because the time was off on my machine, and had synced it with an ntp server.
This unfortunately caused me to get the following since my time was ahead of current time:
07/14/2009 11:49:01 AM - POLLER: Poller[0] NOTE: Cron is configured to run too often! The Poller Interval is '60' seconds, with a minimum Cron period of '60' seconds, but only -31382 seconds have passed since the poller last ran.
After adding in --force, the problem was resolved:
*/1 * * * * php /var/www/html/poller.php --force > /dev/null 2>&1
In either case, thank you for your help with the great post as it pointed me to the right direction.
Re: [SOLVED] Cron out of sync with Poller Interval cacti 0.8
I have problem today early morning, thanks for solution provided here to solve my problem .
I just add on my cron file with -q and --force like below :
php -q /usr/share/cacti/site/poller.php --force >/dev/null 2>/var/log/cacti/poller-error.log
cacti 0.8.7g with Ubuntu 11.10
I just add on my cron file with -q and --force like below :
php -q /usr/share/cacti/site/poller.php --force >/dev/null 2>/var/log/cacti/poller-error.log
cacti 0.8.7g with Ubuntu 11.10
Who is online
Users browsing this forum: No registered users and 0 guests