On Tue, 2006-02-21 at 17:14 +0100, talpun talp wrote:
> When I tried to run a snmpget on the agent we always obtain an error 
> message.
> 
> command=> snmpget -v 3 -n "" -u maurizio -a MD5 -A 1234567890 -l authNoPriv 
> 10.17.252.27 sysName.0
> 
> error output=> snmpget: Unknown user name (Sub-id not found: (top) -> 
> sysName)
> 
> I noted that if I defined the same user without the engineID (by createUser 
> maurizio MD5 1234567890 DES 0987654321) the same snmpget works.


That's to be expected.
If you specify a non-standard engine ID in the 'createUser' line,
then you need to specify this in the 'snmpget' command as well.

You haven't specified an engine ID in the command above, so snmpget
is using the default engine ID.   But there isn't a user "maurizio" with
the default engine ID (since you created this user with a different
engine ID).

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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

Reply via email to