Frequently getting the below shown poller Error

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
tkrishnamurthy
Posts: 4
Joined: Fri Nov 21, 2008 11:46 am

Frequently getting the below shown poller Error

Post by tkrishnamurthy »

Please go through the screenshot of the cacti log file showing the poller error which is becoming increasingly frequent. I have checked the database and it is working fine.

I appreciate any help in resolving this.
Attachments
Poller error.JPG
Poller error.JPG (199.47 KiB) Viewed 1305 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

From SYSTEm STATS, you will see that there were two pollers running at the same time (12:00). Please check your crontabs. I suspect there's a second entry for cacti in one of those crontabs
Reinhard
tkrishnamurthy
Posts: 4
Joined: Fri Nov 21, 2008 11:46 am

Post by tkrishnamurthy »

Thanks for your reply

I did checked the Cron and there is only one poller running.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Sorry to lay pressure on this; but which crontabs did you check?
Reinhard
tkrishnamurthy
Posts: 4
Joined: Fri Nov 21, 2008 11:46 am

Post by tkrishnamurthy »

I did checked the crontab for user cacti and for the root there is nothing in there and I have added the following entry into /etc/crontab file which will run every 5 minutes
*/5 * * * * cacti php /var/www/cacti/poller.php > /dev/null 2>&1
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

What about /etc/cron.d/cacti? Is there such a file?
Then, you may try replacing

Code: Select all

*/5 * * * * cacti php /var/www/cacti/poller.php > /dev/null 2>&1
by

Code: Select all

*/5 * * * * cacti php /var/www/cacti/poller.php > /var/www/cacti/log/poller.log 2>&1
Please study output of that file and return your info here
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests