33 */6 * * * root php /opt/observium/discovery.php -h all >> /dev/null 2>&1 */5 * * * * root php /opt/observium/discovery.php -h new >> /dev/null 2>&1 */3 * * * * www-data python /opt/observium/poller-wrapper.py 8 >> /dev/null 2>&1
Here they are. Prior it was root for everything, and I did not specify the program to run with.
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tom Laermans Sent: Thursday, September 12, 2013 4:16 PM To: Observium Network Observation System Subject: Re: [Observium] [observium] graphs and crontab
Please paste your cron entries in an e-mail.
On 12/09/2013 22:49, Sanders, Curtis wrote:
Thank you for your response!! Crontab is running as root. The rrd's are placed in the /opt/observium/rrd folder. The owner of that folder is www-data. All of the subfolders are owned by root. The current permissions on the rrd folder is 755 www-data www-data. What do you suggest? Should I run the cronjob as www-data? Or should I change the permissions on the rrd folder to 775? Or both?
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Thursday, September 12, 2013 3:35 PM To: Observium Network Observation System Subject: Re: [Observium] [observium] graphs and crontab
Permissions problem.
The poller does't generate graphs, it puts data into RRDs.
adam.
On 2013-09-12 21:03, Sanders, Curtis wrote:
Sorry if this has been asked already. I have scrolled thru the posts but I haven't come across the answer to my question yet. When I run ./poller-wrapper.py manually it works fine; I get graphing data for most of my devices, and the graphs show up. But if I let cron run it, nothing shows up? What am I missing?
It's a clean build of Ubuntu 12.04, and Observium 0.13.9.4471.
Thanks in advance, any help is appreciated. Yes, I'm a newb. :-)
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 _______________________________________________ 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