On 9 March 2010 23:04, Kavita Raghunathan <[email protected]> wrote: > I’m trying to use snmpget and I see an error. I’ve attached the snmpd.conf > as well as the output of snmpget. I’m using linux Centos. > > $ snmpget -v 3 -u myuser -l authNoPriv -a MD5 -A my_password localhost > sysUpTime.0 > snmpget: Unknown user name (Sub-id not found: (top) -> sysUpTime)
Forget about the "Sub-id not found" message. That's a red herring. Concentrate on the other element "Unknown user name". How have you created the user "myuser" ? > # snmpd.conf > rwuser myuser auth system Note that this entry does not _create_ the user "myuser". It simply authorises such a user to access the agent. You still need a suitable "createUser" entry in the persistent config file (/var/net-snmp/snmpd.conf). See README.snmpv3 for details. Dave ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ 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
