check_snmp problem

Brandon Williams bwilliams at zynga.com
Tue Nov 24 01:10:20 CET 2009


Hey Guys I am trying to monitor a switch by using snmp.  When I run the check_snmp I get this result


./check_snmp -H x.x.x.x -C Cust at m -P 2c -o .1.3.6.1.4.1.6027.3.10.1.2.2.1.14.1
SNMP problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 2c [authpriv] 10.7.128.77:161  .1.3.6.1.4.1.6027.3.10.1.2.2.1.14.1

If I were to run snmpget I am able to get results

su nagios -c "snmpget -t 1 -r 5 -m '' -v 2c -c Cust at m x.x.x.x:161  .1.3.6.1.4.1.6027.3.10.1.2.2.1.14.1"
iso.3.6.1.4.1.6027.3.10.1.2.2.1.14.1 = Gauge32: 61

Any ideas on why check_snmp is having a problem?  The only odd thing I see is [authpriv] which I guess means it is hiding the community string.  The community string I am showing is not the actual one we use.  The one we use has letters and numbers.  Would that have anything to do with it?


Brandon Williams
NOC Engineer
Cell: 415.624.4577
Skype-ID: bwilliams3000

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091123/b0bf5bcd/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-------------- next part --------------
_______________________________________________
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