How do I check for within a range? For example Humidity?
Tedman Eng
teng at dataway.com
Thu Sep 15 02:16:29 CEST 2005
check_snmp can check multiple OID's. You can even use the same OID twice.
./check_snmp -H -o netBotz.30.10.2.0,netBotz.30.10.2.0 -w 69:65,30:26 -c
100:70,25:0 -l Humidity
Humidity OK - 35 35
I've reversed the range specifications in order to specify the non-OK
ranges.
(see "check_snmp -h" section about max:min vs min:max)
> -----Original Message-----
> From: Dave Augustus [mailto:davea at support.kcm.org]
> Sent: Wednesday, September 14, 2005 4:13 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] How do I check for within a range? For example
> Humidity?
>
>
> Hello All,
>
> I am busy here trying to integrate a Netbotz appliance within
> Nagios. I
> have the temperature readings and the door alarm working.
> BUT, how can I
> create proper checks for HUMIDITY?
>
> Humidity ranges need both warning and critical values at BOTH high and
> low extremes. Temperatures do as well but here in Texas we don't worry
> too much about things being too cold. :)
>
> Here is the range:
>
>
> Critical: 70% and above
> Warning: 65%-69%
>
> OK: 31%-64%
>
> Warning: 26%-30%
> Critical: 25% and below
>
> Here is my check from the CL:
>
> ./check_snmp -H 130.77.1.98 -P 1 -o netBotz.30.10.2.0 -w
> 65,70 -c 70,100
>
> Which works great for the UPPER extreme. How do I do the LOWER check?
>
>
> Thanks,
> Dave
>
>
> --
> Dave Augustus <davea at support.kcm.org>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download it for free - -and be entered to win a 42" plasma tv
> or your very
> own Sony(tm)PSP. Click here to play:
http://sourceforge.net/geronimo.php
_______________________________________________
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
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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