Am able to solve that problem if i run with sysName am getting the correct result but when i use other objects am getting the following error
root@newuser-desktop:/home/newuser# snmpset -v 2c -c private localhost sysName.0 s "office" SNMPv2-MIB::sysName.0 = STRING: office root@newuser-desktop:/home/newuser# snmpset -v 2c -c private XXX-MIB::XXX.0 i "4" i: Bad object type: 4 root@newuser-desktop:/home/newuser# snmpset -v 2c -c private sysORUpTime.4 t "10:01:11:00" t: Bad object type: 1 snmpset -v 2c -c private XXX-MIB::XXX.0 s "office" (here am giving 's' instead of 'i' just to check which error i get) s: Needs value so can anyone pls help where i went wrong? ________________________________________ From: NetSNMP Mailbox [net-snmp-m...@freesnmp.com] on behalf of Robert Story [rst...@freesnmp.com] Sent: Wednesday, May 02, 2012 6:59 PM To: Durga Sree Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: problem with snmpset On Wed, 2 May 2012 09:35:31 +0000 Durga wrote: DS> Hi, DS> I am facing problem with snmpset. DS> after alkl settings in access control still am not able to solve the DS> problem I am getting the following error DS> DS> root@newuser-desktop:/home/newuser# snmpset -v 2c -c private localhost DS> sysLocation.0 s "Hello" Error in packet. DS> Reason: notWritable (That object does not support modification) DS> Failed object: SNMPv2-MIB::sysLocation.0 DS> DS> so can anyone pls help? See http://www.net-snmp.org/wiki/index.php/FAQ:Applications_14 Larsen & Toubro Limited www.larsentoubro.com This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. Earth Day. Every Day. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders