Manual polling works, cron doesn't.
Moderators: Developers, Moderators
Manual polling works, cron doesn't.
Okay weird one here. I've searched and searched and not found anything that answers this.
If I run php poller.php from the shell it runs fine, it shows the run in the log file and generates the graphs.
When cron runs the poller it runs fine, shows the run in the log, but doesnt update the graphs.
The poller is being run like clockwork and shows that it is running successfully in the logs both automatically and manually. It just doesnt generate any graphs when it runs on it's own. Any ideas?
If I run php poller.php from the shell it runs fine, it shows the run in the log file and generates the graphs.
When cron runs the poller it runs fine, shows the run in the log, but doesnt update the graphs.
The poller is being run like clockwork and shows that it is running successfully in the logs both automatically and manually. It just doesnt generate any graphs when it runs on it's own. Any ideas?
I forced ownership of rra and it's contents to the cacti system user. This appears to given it the kick in the ass it needed. Most of the files there were owned by root. Just glad it's working now. I'm not going to ask too many questions.
It would be nice to have an option from the utility menu to check permissions on everything and let you know what is set correctly and what isnt. Would make like a lot easier for some folks I bet.
It would be nice to have an option from the utility menu to check permissions on everything and let you know what is set correctly and what isnt. Would make like a lot easier for some folks I bet.
It is one of the steps in the documentation (#6): http://www.cacti.net/downloads/docs/htm ... _unix.html
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Who is online
Users browsing this forum: No registered users and 1 guest