No rrds being created/Poller not running?

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

Moderators: Developers, Moderators

Post Reply
cdgtcc
Posts: 10
Joined: Wed Dec 10, 2008 12:59 pm

No rrds being created/Poller not running?

Post by cdgtcc »

Hey guys, I'm having an issue getting cacti up on a FreeBSD 7 box. Ive used cacti quite some time now and I haven't ran in to an issue like this before. I have my crontab setup as I always have, however after waiting awhile, no graphs show, of course with no rrd files. I have tried using spine or cmd.php neither seem to work. I try executing poller.php manually, seems to run through just fine. However if I try and run it again after I've just ran it, it will bring me back to a prompt with no info. After checking cacti.log the only info showing up is from all the times I have ran poller manually. Any ides? This seems very strange, almost as if cron isnt running? However I have checked to ensure its enable as well as all my other cron jobs run just fine.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please visit Settings and check

Poller Statistics
Poller Warnings
Poller Errors

then retry. Make sure, that you entered the cacti poller command to any of those crontabs. Then you should see sth in the log
Reinhard
cdgtcc
Posts: 10
Joined: Wed Dec 10, 2008 12:59 pm

Post by cdgtcc »

I've checked everything, except it seems that cron isnt running my poller which is weird. I can run poller manually, and info goes in to the logs, but cron isnt running the poller. Below is my crontab file.

*/5 * * * * cacti /usr/local/bin/php /usr/local/share/cacti/poller.php > /dev/null 2>&1
cdgtcc
Posts: 10
Joined: Wed Dec 10, 2008 12:59 pm

Post by cdgtcc »

I've also tried having the cronjob run as root. That didn't work either.

EDIT: I also have another bsd 7 box I installed everything from source from, and I have the same issue. Both machines work as expected, except there is nothing flowing in to the logs, as it seems this cron job isnt running.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

cdgtcc wrote:I've checked everything, except it seems that cron isnt running my poller which is weird. I can run poller manually, and info goes in to the logs, but cron isnt running the poller. Below is my crontab file.

*/5 * * * * cacti /usr/local/bin/php /usr/local/share/cacti/poller.php > /dev/null 2>&1
That is whhich crontab? Please be aware, that users crontabs do not need a userid specified. Piping to /tmp/poller.log instead of /dev/null may help as well
Reinhard
cdgtcc
Posts: 10
Joined: Wed Dec 10, 2008 12:59 pm

Post by cdgtcc »

Actually, my problem was i wasnt specifing the full path to php. And I of course had to remove the user that was running the cron job cuz it wasn't needed.

Thanks for all the input regardless!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests