On Wed, 2005-11-16 at 07:30 +0000, madhan raj wrote: > Dear All, > > I am using net-snmp-5.2.1.2 in my router. All the snmp > commands are working fine except "snmpset". The error message which I > got while setting is as follows: > > # snmpset -v2c -c salauddin localhost > interfaces.ifTable.ifEntry.ifAdminStatus.1 i 1 > > Error in packet. > Reason: notWritable > Failed object: interfaces.ifTable.ifEntry.ifAdminStatus.1 >
Got the same problem with 5.2.2.rc5, I guess it's configuration issue. My output is # snmpget -v2c -c public localhost system.sysContact.0 SNMPv2-MIB::sysContact.0 = STRING: Root <[EMAIL PROTECTED]> (configure /etc/snmp/snmp.local.conf) # snmpset -v2c -c public localhost system.sysContact.0 s [EMAIL PROTECTED] Error in packet. Reason: notWritable (That object does not support modification) Failed object: SNMPv2-MIB::sysContact.0 and my snmpd.conf file contains com2sec local localhost public com2sec mynetwork localhost public group MyRWGroup any local group MyROGroup any mynetwork group MyRWGroup any otherv3user view all included .1 80 access MyROGroup "" any noauth 0 all none none access MyRWGroup "" any noauth 0 all all all syslocation Unknown (edit /etc/snmp/snmpd.conf) syscontact Root <[EMAIL PROTECTED]> (configure /etc/snmp/snmp.local.conf) What's wrong in my conf file? -- Radek Vokál <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part
