check_snmp v3


#1

How to configure check_snmp with version 3 in the file switch.cfg ?

I should specify a user name and password !

In this case, how can I do ?

define service{
use generic-service
host_name Switch-3550
service_description Port 2 Link Status
check_command check_snmp!-C public -o ifOperStatus.2 -r 1 -m RFC1213-MIB
}

Thanks.


#2

Haven’t done it myself, but I’d imagine you’ll need one to use or more of these switches… shouldn’t be too hard to work out based on how you get a proper response with snmpget

[root@localhost libexec]# ./check_snmp --help ... . Options: ... . -P, --protocol=[1|2c|3] SNMP protocol version -L, --seclevel=[noAuthNoPriv|authNoPriv|authPriv] SNMPv3 securityLevel -a, --authproto=[MD5|SHA] SNMPv3 auth proto ... . -U, --secname=USERNAME SNMPv3 username -A, --authpassword=PASSWORD SNMPv3 authentication password -X, --privpasswd=PASSWORD SNMPv3 privacy password ... . [root@localhost libexec]#
HTH

/S


#3

Ok… Thanks a lot !!!