SNMP v3 newbie question

Dan Miller <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I'm trying an even
simpler test now. I have snmpd V5.7.2 running on my machine.

Using as reference,
http://www.net-snmp.org/wiki/index.php/TUT:SNMPv3_Options

> stopped snmpd

> created ~/.snmp/snmpd.conf :

defContext none

defSecurityName MD5User

defAuthPassphrase anacomTest

defVersion 3

defAuthType MD5

defSecurityLevel authNoPriv

rouser noAuthUser

rouser MD5User

rwuser MD5DESUser

> created /var/net-snmp/snmpd.conf :

createUser NoAuthUser

createUser MD5User MD5 "The Net-SNMP Demo Password"

createUser MD5DESUser MD5 "The Net-SNMP Demo Password" DES

> restarted snmpd

> sent:

sudo snmpgetnext 127.0.0.1 1.3.6.1.2.1.1.2.0

snmpgetnext: No securityName specified

> sent:

sudo snmpgetnext -v 3 -n none -l noAuthNoPriv -u noAuthUser
127.0.0.1 1.3.6.1.2.1.1.2.0

snmpgetnext: Unknown user name

I just can't get *anything* to work with V3 at all... I hope I'm
missing something simple???

Dan Miller

https://www.avast.com/en-us/lp-safe-emailing-2109?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=oa-2109-v2-a
Virus-free. www.avast.com

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.