Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
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.
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.
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.
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.
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
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.