First, you will need to get check_snmp working. I have the Temp/Humidity
probe plugged into Port 2 (first avail for a sensor RJ-11 style).

Here is my check command:


# 'check_snmp_RoomAlert' command definition
define command  {
        command_name    check_snmp_RoomAlert
        command_line    $USER1$/check_snmp -P 1 -H $HOSTADDRESS$ -o
$ARG1$ -c $ARG2$ -u $ARG3$
}

Here are the service defs:

define service{
        use                             generic-service         ; Name
of service template to use
        host_name                       RoomAlert
        service_description             DataCenter Temperature
        check_command
check_snmp_RoomAlert!1.3.6.1.4.1.20916.1.3.1.2.2.0!60:73!"Degrees
Fahrenheit"
        }

define service{
        use                             generic-service         ; Name
of service template to use
        host_name                       RoomAlert
        service_description             DataCenter Humidity
        check_command
check_snmp_RoomAlert!1.3.6.1.4.1.20916.1.3.1.2.3.0!30:45!"% Relitive
Humidity"
        }

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
lunaslide
Sent: Tuesday, August 28, 2007 6:49 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] AVTECH Room Alert examples

C. Bensend wrote:
>> I just deployed one of these using nagios. You will need to use SNMP.
>> There is a secret setting that they just put in the most recent
version of
>> firmware that allows the temp and humidity output to be displayed as
xx vs
>> xxxx (so you have the device say 67 degrees instead of 6789 degrees).
That
>> you need to do by telnetting to a port (I want to say 9999 but I can
>> check) and changing a few settings. Depending on where you have the
>> sensors plugged in, the OID that you will need to hit will change. I
have
>> a RoomAlert 11E and can tell you more on how I have it set up if you
are
>> interested. Also, I added a -u (units) to the end of my check command
to
>> so that the output in the nagios GUI would say degrees or relative
>> humidity. Let me know if you need my check commands and help with the
>> OIDs. Good luck. -Seth
> 
> Boy, I'd love to know what that secret setting is.  Until now, I've
> been using hacks like:
> 
> -u "x 0.01 degrees F"
> 
> so that the output was human-readable.
> 
> If you could send your check commands to the list, that'd be very
> much appreciated!

I second the request, please send your check commands to the list, I
would very much appreciate it.


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to