check_snmp output

Subhendu Ghosh sghosh at sghosh.org
Tue Feb 18 06:34:30 CET 2003


On Mon, 17 Feb 2003, Babak Pasdar wrote:

> 
> 
> OK I am having a problem with check_snmp.  When I try it with just plain
> snmpget I get the desired result, however with check_snmp I keep getting
> an SNMP WARNING with the results.
> 
> Here is my exact syntac:
> 
> check_snmp -H 192.168.1.1 -o ifInErrors.1 -C XXX -w 0:20 -c :40 
> 
> results in:
> 
> SNMP WARNING - 0
> 
> It keep stelling me everything is at a warning level, even though the
> result is the desired result.
> 
> Any help would be appreciated.
> 
> Thanks
> 
> Babak
> 

When you run on snmpget on the  command line you probably get a bunch of 
MIB formatting errors.  Either fix those or use -m \" \"

Also posting the actual output of the command line would be useful.

Finally: please wrap your message lines to less than 80 characters.

-- 

-sg



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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