linux - snmpwalk failed with authorizationError -


i tried execute:

snmpwalk -v 3 -u snmpv3username -a <passphrase> -a md5 -l authnopriv localhost .1.3.6.1.4.1.334.72.1.1.6.2.1.0 

however, got following error: error in packet. reason: authorizationerror (access denied object)

i have define following in /etc/snmp/snmpd.conf:

createuser snmpv3username md5 <passphrase> aes <passphrase> 

question is: 1. meaning of error? thought have defined user in config file 2. how solve issue?

if execute:

snmpwalk -v 1 -c public -o e 127.0.0.1 

i got result:

snmpv2-mib::sysdescr.0 = string: linux ip-10-251-138-141 2.6.32-358.14.1.el6.x86_64 #1 smp mon jun 17 15:54:20 edt 2013 x86_64 snmpv2-mib::sysobjectid.0 = oid: net-snmp-mib::netsnmpagentoids.10 disman-event-mib::sysuptimeinstance = timeticks: (615023) 1:42:30.23 snmpv2-mib::syscontact.0 = string: root <root@localhost> snmpv2-mib::sysname.0 = string: ip-10-251-138-141 snmpv2-mib::syslocation.0 = string: aws-west snmpv2-mib::sysorlastchange.0 = timeticks: (2) 0:00:00.02 snmpv2-mib::sysorid.1 = oid: snmp-mpd-mib::snmpmpdmibobjects.3.1.1 snmpv2-mib::sysorid.2 = oid: snmp-user-based-sm-mib::usmmibcompliance snmpv2-mib::sysorid.3 = oid: snmp-framework-mib::snmpframeworkmibcompliance snmpv2-mib::sysorid.4 = oid: snmpv2-mib::snmpmib snmpv2-mib::sysorid.5 = oid: tcp-mib::tcpmib snmpv2-mib::sysorid.6 = oid: ip-mib::ip snmpv2-mib::sysorid.7 = oid: udp-mib::udpmib snmpv2-mib::sysorid.8 = oid: snmp-view-based-acm-mib::vacmbasicgroup snmpv2-mib::sysordescr.1 = string: mib message processing , dispatching. snmpv2-mib::sysordescr.2 = string: mib message processing , dispatching. snmpv2-mib::sysordescr.3 = string: snmp management architecture mib. snmpv2-mib::sysordescr.4 = string: mib module snmpv2 entities snmpv2-mib::sysordescr.5 = string: mib module managing tcp implementations snmpv2-mib::sysordescr.6 = string: mib module managing ip , icmp implementations snmpv2-mib::sysordescr.7 = string: mib module managing udp implementations snmpv2-mib::sysordescr.8 = string: view-based access control model snmp. snmpv2-mib::sysoruptime.1 = timeticks: (2) 0:00:00.02 snmpv2-mib::sysoruptime.2 = timeticks: (2) 0:00:00.02 snmpv2-mib::sysoruptime.3 = timeticks: (2) 0:00:00.02 snmpv2-mib::sysoruptime.4 = timeticks: (2) 0:00:00.02 snmpv2-mib::sysoruptime.5 = timeticks: (2) 0:00:00.02 snmpv2-mib::sysoruptime.6 = timeticks: (2) 0:00:00.02 snmpv2-mib::sysoruptime.7 = timeticks: (2) 0:00:00.02 snmpv2-mib::sysoruptime.8 = timeticks: (2) 0:00:00.02 host-resources-mib::hrsystemuptime.0 = timeticks: (562693901) 65 days, 3:02:19.01 end of mib 

thanks in advance

you snmpwalk seclevel authnopriv user has seclevel authpriv configured. try:

snmpwalk -v 3 -u snmpv3username -a <passphrase> -a md5 -x aes -x <passphrase> -l authnopriv localhost .1.3.6.1.4.1.334.72.1.1.6.2.1.0


Comments