SNMP Based Queries FAILED

Giles Coochey GilesC at CarmenMedia.com
Mon Nov 13 15:10:48 CET 2006


> 
> Dear All,
> 
> I have installed NAGIOS-2.5. it is working fine for 
> ping,ftp,telne,pop3 etc.
> 
> But its create problem with SNMP query. like check_snmp and 
> other queries 
> which use SNMP.
> 
> It giving me error like
> 
> [root at linuxtest libexec]# ./check_snmp -C public -H 192.168.10.92
> SNMP problem - No data received from host
> CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 -c public 192.168.10.92:161
> [root at linuxtest libexec]#
> 

Please check your syntax for check_snmp:

Usage: check_snmp -H <ip_address> -o <OID> [-w warn_range] [-c
crit_range]
                  [-C community] [-s string] [-r regex] [-R regexi]
                  [-t timeout] [-e retries]
                  [-l label] [-u units] [-p port-number] [-d delimiter]
                  [-D output-delimiter] [-m miblist] [-P snmp version]
                  [-L seclevel] [-U secname] [-a authproto] [-A
authpasswd]
                  [-X privpasswd]

You should note that the -o <OID> is not a optional parameter.

Thanks

Giles

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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