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
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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
That's correct.
The "createUser" entry (which includes password text) is removed from the
config file, and replaced with an equivalent "usmUser" entry (which includes
localised keys, which are only valid on that one box).
This can only be done if the "createUser" lines are put in the dynamic
config file - /var/net-snmp/snmpd.conf
> Do I need 2 files ?
Typically, yes.
Could you please let me know how to enable snmpd daemon's debug log. I
am using suse 10 linux.
Thanks,
Harendra
Start the agent using the option "-D{token}" where {token} is the debug tag
that you wish to enable. There's a reasonably full list of these at
http://freesnmp.com/net-snmp/faqs/index.html#tokens
You can turn on *all* debugging messages using "-D" (with no token),
but be aware that this produces an incredible amount of output.
It's not particularly useful, since you're typically drowning in irrelevant
stuff. It's much better to think about what you're trying to find out,
and enable the relevant debug tokens
Dave