Hi,
 
    I am using net-snmp-5.3.0.1my /usr/local/share/snmp/snmpd.conf file has following configuration
 
#-----------------snmpd.conf file begins-----------------------  
 
#         viewname    incl/excl            OID
 view    test-view     included          system
 
#       groupName      securityModel securityName
group   mygroup        usm            raghu
 
#       group   context sec.model sec.level prefix read   write  notif
access  mygroup ""      usm       auth    exact  test-view    none   none
 
#user configuration
authuser read raghu  auth -v test-view
 
#-----------------snmpd.conf file ends-----------------------  
 
my /var/net-snmp/snmpd.conf has following line
createUser raghu MD5 testraghu DES testraghu
 
which gets encrypted after enabling snmpd(which is enabled on 192.168.31.14). The problem that I have here is I am doing snmpget which is not giving the expected output. I am executing snmpget from 192.168.31.199. command and output as goes below.
 
snmpget -v 3 -u raghu -l authNoPriv -a MD5 -A testraghu 192.168.31.14 system.sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = No Such Object available on this agent at this OID
 
 Can any one tell me what is wrong in this configuration file. If I remove -v test-view from user it works fine but it does not serve any purpose.
 
Regards,
Raghavendra. S

Reply via email to