Hello All,
Running centos 5.11, installed the latest cacti and everything looks pretty good interface wise, db wise etc.
I create a couple of devices, use thold etc, but when looking for data, there isn't any.
I have checked security and other settings on folders, but I'm not able to get any kind of error to point me in the right direction.
Since I am monitoring ping with notifications, I see that nothing happens there and graphs are not displaying so I feel like we are never executing the poller to start checking/generating information.
I started running the cron, not only as cacti user but as root with no luck and my custom log is empty. Cron logging does show that the jobs are being executed, both as user cacti and root.
*/5 * * * * /usr/bin/php /usr/share/cacti/poller.php > /var/log/cacti-errors 2>&1
I run the poller mannually and also get nothing of value both with and without -q
/usr/bin/php -q /usr/share/cacti/poller.php
I see nothing in /usr/share/cacti/rra and I did verify it's chmod'd to 766, I made it owned by cacti:cacti cacti:nobody etc.
Any help in getting this on track would be appreciated.
Poller not working
Moderators: Developers, Moderators
Re: Poller not working
First, the poller should only be running as root OR cacti, not both. That will create lots of issues (I recommend root). You also don't mention what version of Cacti you are using.
You should check your Cacti log file and see what it says, it usually contains some helpful information.
Also, just curious, why are you setting up a new server with Centos 5? It was EOL earlier this year and isn't receiving any updates (security or otherwise) anymore.
You should check your Cacti log file and see what it says, it usually contains some helpful information.
Also, just curious, why are you setting up a new server with Centos 5? It was EOL earlier this year and isn't receiving any updates (security or otherwise) anymore.
Re: Poller not working
Sorry for the delay,
I'm running .8.8h
log file is empty
I can run in root for cron, I understand if I run both I'm doubling data, it was to troubleshoot mainly.
One of the servers that we have mrtg on and some old code site, so it was the place to use.
It's behind a firewall so it's pretty locked down, and we manually updated a few things like ssh etc to newer versions.
Thanks!
I'm running .8.8h
log file is empty
I can run in root for cron, I understand if I run both I'm doubling data, it was to troubleshoot mainly.
One of the servers that we have mrtg on and some old code site, so it was the place to use.
It's behind a firewall so it's pretty locked down, and we manually updated a few things like ssh etc to newer versions.
Thanks!
Re: Poller not working
Run the poller as root with
/usr/bin/php -q /usr/share/cacti/poller.php --force --debug
and also make sure that your php.ini has error reporting set to E_ALL and display errors is on.
/usr/bin/php -q /usr/share/cacti/poller.php --force --debug
and also make sure that your php.ini has error reporting set to E_ALL and display errors is on.
Who is online
Users browsing this forum: No registered users and 4 guests