Hi All,
we are trying to use net-snmp with snmpv3. We configure snmpd.conf.
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.
###########################snmpd.conf begin
rwuser maurizio auth
createUser -e 0x1234567890 maurizio MD5 1234567890 DES 0987654321
#group name securitymodel securityname
group public usm maurizio
# name incl/excl subtree mask
view all included .1.
# group context sec.model sec.level prefix read write
notif
access public "" any auth exact all
all all
trapsess -v 3 -e 0x1234567890 -u maurizio -a MD5 -A 1234567890
10.203.71.175:162
proc cmd.exe 2 0
agentSecName maurizio
defaultMonitors yes
monitor -u maurizio -r 20 -o prNames -o prErrMessage "process table"
prErrorFlag != 0
###########################snmpd.conf end
Thanks,
Maurizio
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------------------------------------------------
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