check_snmp v3 authentication

Etienne Ringuet ERinguet at optosecurity.com
Fri Jul 30 15:37:45 CEST 2010


Hello,

 

I am trying to use check_snmp to monitor different snmp states on our
hardware. 

 

Our system uses snmp v3. If I use snmpget to access it, it works:

 

eringuet at test:/usr/lib/nagios/plugins$ snmpget -a MD5 -l authNoPriv -u
USERNAME -A PASSWORD -v3 192.168.1.150  sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (15742663) 1 day,

19:43:46.63

 

But when using check_snmp I get "no securityname specified":

 

eringuet at test:/usr/lib/nagios/plugins$ ./check_snmp -H 192.168.1.150 -o
sysUpTime.0 -P3 -l authNoPriv -U USERNAME -a MD5 -A PASSWORD External
command error: snmpget: No securityName specified (Sub-id not

found: (top) -> sysUpTime)

 

 

Am I missing something?

 

Thanks,

 

Etienne

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100730/90b772f0/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
-------------- 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