I am trying to set the SNMP authentication protocol to SHA to connect to my CISCO switch. When I run:
sudo munin-node-configure --snmp SWITCH01 --snmpversion 3 --snmpauthprotocol sha --snmpusername munin --snmpauthpass PASSWORD
I am getting the error:
Unknown option: snmpauthprotocol
It does say in the manual that the option is available:
--snmpauthprotocol <protocol>
Authentication protocol. One of 'md5' or 'sha' (HMAC-MD5-96, RFC1321 and SHA-1/HMAC-SHA-96, NIST FIPS PIB 180, RFC2264). ['md5']
I could change the protocol on the switch ... If I hadn't accidentally denied ssh access for myself ... I don't feel like taking a 2 hour drive today :/
Just as an extra note, if I run it without the --snmpauthprotocol and with --debug I get:
Received usmStatsWrongDigests.0 Report-PDU with value 4 during synchronization
So, I definitely can't use md5 ...
shawas being passed correctly, and not always defaulting tomd5... That bit is working correctly, so it's now something I have to fix on my switch Lol ... Also it took me a while to track down how the--snmpauthprotoswitch is being passed toNET::SNMP, because the reference name changes about 20 times, fromsnmpauthprototosnmp3authproto,authproto,authprotocoletc ... – Just Lucky Really Jul 02 '15 at 15:51