Thank you! 

1) I did try that one per the README.snmpv3, but for some reason it didn't
take affect even though I restarted the agent. I tried it again now and it
works. That's a mystery.

2) Also, the changes "createUser" are appended to /var/net-snmp/snmpd.conf
and not /usr/local/share/snmp/snmpd.conf. Do I need 2 files ?

Kavita

On 3/10/10 2:30 AM, "Dave Shield" <[email protected]> wrote:

> 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&#174; 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

Reply via email to