Check_snmp doesn't seem to work correctly?
Subhendu Ghosh
sghosh at sghosh.org
Wed Jun 11 16:04:40 CEST 2003
On Wed, 11 Jun 2003, John Senior wrote:
> Hi there folks, I'm trying to check a SNMP value with the check_snmp
> plugin
> and it doesn't seem to be working correctly:
>
> mon# ./check_snmp -m : -v -c "500:0" -H 10.195.0.8 -o
> .1.3.6.1.2.1.33.1.3.3.1.3.1
> /usr/local/bin/snmpget -m : -v 1 -c public 10.195.0.8:161
> .1.3.6.1.2.1.33.1.3.3.1.3.1
> iso.3.6.1.2.1.33.1.3.3.1.3.1 = INTEGER: 233
>
> SNMP CRITICAL - *233*
>
> mon# ./check_snmp -m : -v -c "100:0" -H 10.195.0.8 -o
> .1.3.6.1.2.1.33.1.3.3.1.3.1
> /usr/local/bin/snmpget -m : -v 1 -c public 10.195.0.8:161
> .1.3.6.1.2.1.33.1.3.3.1.3.1
> iso.3.6.1.2.1.33.1.3.3.1.3.1 = INTEGER: 228
>
> SNMP CRITICAL - *228*
>
> The limits seem to be ignored for some reason - the plugin always
> returns
> a critical status. This happens to be a voltage reading and I want to
> get
> a notification if it drops below a certain level.
>
> Am I missing something obvious?
>
> All the best,
>
> John.
>
> --
> John Senior <js at irishbroadband.ie>
>
from the help:
- If specified in the order 'max:min' a non-OK state will be returned if
the result is within the (inclusive) range.
500<223<0 ==> non-OK == CRITICAL
--
-sg
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
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