Hi, Running net-snmp 5.7.3 on FreeBSD 12.0, and 5.7.2 on CentOS 7.7.1908.
I can set SNMPv3 auth information in $HOME/.snmp/hostname.conf just fine. If I create a per-host file to tell snmpwalk to use v2 or v2c, however, it insists on using v3 anyway. I can set snmp.conf to use v2c, and have individual hosts files override that with v3. That's less than optimal. My regular $HOME/.snmp/snmp.conf is: defVersion 3 defSecurityName secureRW defAuthPassphrase beVeryCareful defAuthType SHA defPrivPassphrase moreCarefulThanThat defPrivType AES defSecurityLevel authPriv I have $HOME/.snmp/hosts/centos.conf to poke the host named "centos": doDebugging 1 defversion 2c defcommunity insecureRO When I run snmpbulkwalk without debugging, I get: $ snmpbulkwalk centos snmpbulkwalk: Unknown user name Packet sniffing shows we're sending SNMPv3. I have the full debug at http://www-old.michaelwlucas.com/centos.debug Any suggestions? Thanks, ==ml -- Michael W. Lucas https://mwl.io/ author of: Absolute OpenBSD, SSH Mastery, git commit murder, Immortal Clay, PGP & GPG, Absolute FreeBSD, etc, etc, etc... _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users