The file permissions are correct. If I run the poller command manually I get
root@linux2:/opt/observium# /opt/observium/poller.php -h all Observium Poller v0.13.6.4124
Starting polling run:
mis2008-dc 1 windows Module [ unix-agent ] disabled globally. Using SNMP Agent sysUpTime (608338 seconds) Uptime: 7 days, 58m 58s
Hardware: Intel x64 Version: Server 2008 Datacenter R2 SP1 (NT 6.1) Features: Multiprocessor Serial: IPMI: Processor Unknown Processor Type 0% Processor Unknown Processor Type 0% Mempool Virtual Memory: 17.22% Mempool Physical Memory: 38.49% Storage C:\ Label: Serial Number cca586f8: 77% Storage E:\ Label:New Volume Serial Number cc3ad1bd: 18% Storage I:\ Label:New Volume Serial Number d63e5dd5: 0% Polling Netstats: IP TCP UDP ICMP SNMP HR Stats: Processes Users Polling IP-MIB ipSystemStats root@linux2:/opt/observium#
So it seems to have polled 1 of the 6 devices, but does not seem to bring much info back.
snmpwalk workings fine against all the devices.
Must be missing something basic. Tempted to trash the server and start again.
Richard
On 06/06/2013 11:51, Tracy Phillips wrote:
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 .