> This works: > > snmpwalk -v3 -u guest -A **** -l authNoPriv -a md5 device > > This doesn't: > > cfgmaker --enablesnmpv3 --username=guest --authpassword=**** - > ifref=ip device > > and results in the messages: > > --base: SNMP V3 libraries found, SNMP V3 enabled. > --base: snmpv3 available, but using v1/v2c for public@gw2: > --base: Get Device Info on public@gw2: > > Why is it refusing to use snmpv3?
Cfgmaker is not using snmpv3 because it cannot connect. The reason for this is that it does not have working credentials. If you specify a contextengineid, then this is used in combination with the supplied authpassword. If you do not, then the authpassword is assumed to already be hashed with the contextengineid (see the snmpkey utility for how to make these). So -- either give the contextengineid, or use snmpkey to convert the password into a hash. You can also use --snmp-options=:::::3 to force SNMPv3, though the above requirement still stands. Steve Steve Shipway [email protected] (GNU Terry Pratchett)
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
