How does your config.php look?
2016-07-07 10:46 GMT+02:00 Chrys Thorsen chrys.thorsen@gmail.com:
Cron job never ran. "no such file or directory"
On Thu, Jul 7, 2016 at 10:39 AM, Markus Klock markus@best-practice.se wrote:
what does the cron log say? cat /var/log/cron.log
2016-07-07 10:28 GMT+02:00 Chrys Thorsen chrys.thorsen@gmail.com:
Thanks Adam, I followed the install guide very carefully, step by step, even copying and pasting the commands.
On Thu, Jul 7, 2016 at 10:19 AM, Adam Armstrong adama@memetic.org wrote:
I can't even begin to imagine what you might have done wrong to make the poller wrapper not work.
But either way, if you follow the install guide properly on Ubuntu 14.04, it works fine.
Adam.
Sent from BlueMail http://www.bluemail.me/r
On 7 Jul 2016, at 09:06, Chrys Thorsen chrys.thorsen@gmail.com wrote:
Thanks Shaun, the observium directory is /opt/observium. The path you provided in your example doesn't exist. When I run it manually, I run it from /opt/observium. I can run discovery.php and poller.php from that directory just fine.
On Thu, Jul 7, 2016 at 9:48 AM, Shaun Courtney <shaun@cybersmart.co.za
wrote:
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
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Chrys Thorsen Director of Technology and Training
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Chrys Thorsen Director of Technology and Training
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Chrys Thorsen Director of Technology and Training
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium