EM01 HVAC Monitor - Script Problems?

Stork, Johnny [PH] JStork at providencehealth.bc.ca
Thu Apr 22 18:24:43 CEST 2004


I have successfully configured the EM01, can ping it and can access readings
through the html interface.

I am running Nagios 1.2 on RH9, and have followed the instructions for
setting up the Nagios monitoring scripts from here

http://www.masonc.com/websensor.html


I have confirmed that the following perl modules are installed

use LWP::UserAgent;
use HTTP::Request;
use Getopt::Long;

I can ping the sensor from the machine running Nagios

[root at PBCO-SERVER4 plugins]# ping 192.168.101.99
PING 192.168.101.99 (192.168.101.99) 56(84) bytes of data.
64 bytes from 192.168.101.99: icmp_seq=1 ttl=64 time=2.51 ms
64 bytes from 192.168.101.99: icmp_seq=2 ttl=64 time=2.49 ms
64 bytes from 192.168.101.99: icmp_seq=3 ttl=64 time=2.48 ms
64 bytes from 192.168.101.99: icmp_seq=4 ttl=64 time=2.48 ms

And I can go to the web interface and see the values

http://192.168.101.99/index.html?em123456

Platform is RH 9 and Nagios 1.2

However, whether run from Nagios or the command line, the check script
fails?


./check_em01.pl -H 192.168.101.99
UNKNOWN: Could not retrieve data from sensor

-----------------------------------------------------------
Johnny Stork
Database Developer & Statistical Analyst
Provincial Blood Coordinating Office



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list