check_snmp v3 authentication

Etienne Ringuet ERinguet at optosecurity.com
Wed Jul 21 17:04:23 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 

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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