![](https://secure.gravatar.com/avatar/a03759c39cf24f9a957a1273a8a896cb.jpg?s=120&d=mm&r=g)
I have the following line in my /etc/crontab on FreeBSD9.1:
*/5 * * * * root /opt/observium/poller-wrapper.py 1 >> /dev/null 2>&1
I can manually run the poller (as root) but all monitored interfaces go to '0'. Somehow it seems that the poller-wrapper is not able to insert the data into the RRDs.
root@server:/opt/observium # ./poller-wrapper.py 8 INFO: starting the poller at 1382106842.7 with 8 threads, slowest devices first INFO starting alerter.php for 2 INFO finished alerter.php for 2 INFO: worker Thread-7 finished device 2 in 7 seconds INFO starting alerter.php for 8 INFO finished alerter.php for 8 INFO: worker Thread-6 finished device 8 in 9 seconds INFO starting alerter.php for 7 INFO finished alerter.php for 7 INFO: worker Thread-2 finished device 7 in 10 seconds INFO starting alerter.php for 6 INFO finished alerter.php for 6 INFO: worker Thread-5 finished device 6 in 11 seconds INFO starting alerter.php for 1 INFO finished alerter.php for 1 INFO: worker Thread-4 finished device 1 in 12 seconds INFO starting alerter.php for 4 INFO finished alerter.php for 4 INFO: worker Thread-3 finished device 4 in 14 seconds INFO starting alerter.php for 5 INFO finished alerter.php for 5 INFO: worker Thread-1 finished device 5 in 16 seconds INFO: poller-wrapper polled 7 devices in 16 seconds with 8 workers
Also, the regular poller does not work when moved to /etc/crontab, stragely enough it runs just fine from the crontab for user root (edited using 'crontab -e').
Any clues? Any way to verify where it is not working?
Regards Rutger