check_snmp

Subhendu Ghosh sghosh at sghosh.org
Thu Apr 3 06:25:31 CEST 2003


On Wed, 2 Apr 2003, Schreg, Ralf wrote:

> Can anyone help me?
> 
> The Plugin check_snmp never returns a state 'OK'. Always 'WARNUNG' or
> 'CRITICAL':
> 
> For example: ./check_snmp -H 192.168.17.199 -o .1.3.6.1.2.1.2.1.0
> --warning=1:7 --critical=1:10
> 
> SNMP WARNING - 6
> 
> I use the check_snmp plugin 1.24 from nagios plugin 1.3.0
> 
> 

The above output indicates that the MIBs used by snmpget program are not 
parseable correctly. This causes an output to be returend on the stderr 
channel thus invoking a WARNING

To prevent this WARNING - either fix the MIB loading issue (any snmp* 
command invocation will tell you which MIB is causing the problem)

or use the "-m :" option to stop loading the MIBs (and speed up the 
process as well [but you have to use numeric oids])


If you were getting a true WARNING - the data output ( 6 in this example) 
would be surrounded by stars (eg: *6*)

-- 

-sg




-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
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