[mrtg] cfgmaker with smtpv3

Steve Shipway s.shipway at auckland.ac.nz
Sun May 10 23:44:32 CEST 2015


> 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 at gw2:
>   --base: Get Device Info on public at 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
s.shipway at auckland.ac.nz
(GNU Terry Pratchett)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 10311 bytes
Desc: not available
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20150510/a62ae5d1/attachment.bin>


More information about the mrtg mailing list