Hello,
What are the permissions on your php scripts that cron is executing? They need to be at least executable by root.
Tracy
On Jun 6, 2013, at 5:23 AM, Richard Davies <richard@miracle-information-services.co.uk> wrote:
>
> Here is my /etc/cron.d/observium
>
>> root@linux2:/etc/cron.d# more observium
>> 33 */6 * * * root /opt/observium/discovery.php -h all >> /dev/null 2>&1
>> */5 * * * * root /opt/observium/discovery.php -h new >> /dev/null 2>&1
>> */5 * * * * root /opt/observium/poller.php -h all >> /dev/null 2>&1
>> root@linux2:/etc/cron.d#
>
> Copied and paste straight from the installation guide.
>
> Richard
>
> On 06/06/2013 09:35, Stefan Milo wrote:
>> what's in your /etc/cron.d/observium ?
>>
>> br
>>
>> stefan milo
>>
>> ________________________________________
>> Fra: observium [observium-bounces@observium.org] På vegne af Richard Davies [richard@miracle-information-services.co.uk]
>> Sendt: 6. juni 2013 09:41
>> Til: observium@observium.org
>> Emne: [Observium] Setup problem
>>
>> Hi
>>
>> I am looking to implement snmp monitoring for the servers and network
>> devices we support. I am looking at opennms and observium, and have them
>> both running, monitoring some of our internal servers and devices.
>>
>> Observium is running on debian 7 - Wheezy. I believe I followed the
>> debian specific installation instructions exactly, and Observium is up
>> and running. I have configured it to monitor 2 of our Windows servers, 2
>> LINUX servers, a cisco router and sonicwall firewall. The initial
>> discovery seems to have worked. However the olling does not seem to be
>> working from cron. Looking at the observium.log
>>
>>> /opt/observium/discovery.php new June 5, 2013, 15:25 - 0 devices
>>> discovered in 0.
>>> 006 secs
>>> /opt/observium/discovery.php new June 5, 2013, 15:30 - 0 devices
>>> discovered in 0.
>>> 007 secs
>>> /opt/observium/discovery.php new June 5, 2013, 15:35 - 0 devices
>>> discovered in 0.
>>> 005 secs
>>> ...
>> discovery is running from cron every 5 mins as expected, but there is no
>> mention in the log of poller.php running. I am sure I have been stupid
>> and am missing something simple. All the graphs have a title Error
>> Drawing Graph, guess that is because there is no data.
>>
>> Any help and advice would be appreciated, where to look to resolve the
>> issues.
>>
>> Richard
>> _______________________________________________
>> 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