Hello
On 06 Jul 2016, at 10:22 PM, Chrys Thorsen chrys.thorsen@gmail.com wrote:
Hi Guys,
Newbie here. I just installed the latest version of Observium (subscription) onto Ubuntu 14. It discovered my Cisco router, 15 Cisco switches, and 4 Microsoft servers no problem. HOWEVER, poller-wrapper.py does not run. Days later, still no polling.
I have this line in /etc/cron.d/observium:
*/5 * * * * root /opt/observium/poller-wrapper.py 16 >> /dev/null 2>&1
*/5 * * * * www cd /usr/local/www/observium && /usr/local/bin/python poller-wrapper.py 10
You need to change to the observium directory when you are running this script.
(and perhaps consider not running at root.)
Regards,
Shaun
If I manually run /opt/observium/poller-wrapper.py I get this error:
"ERROR: Could not load or parse observium configuration, are PATHs correct?"
If I manually run poller.php, all the devices get polled just fine.
I don't have a PATH statement in crontab. I can add one, but I'm not sure exactly what to add. I also notice that Joe Snijder's post says the syntax should have the word "python" after "root". Does that make a difference?
Please help!
Thanks,
Chrys
-- Chrys Thorsen Director of Technology and Training
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium