Object not writable

"Chino Aureus" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I'm new to snmp  I was trying the sub-agent example in this web site:

http://www.net-snmp.com/tutorial/tutorial-5/toolkit/demon/index.html

Compilation and execution of subagent went ok.  I was able to execute
snmpget and get the result ok.  However, when I executed (SNMPSET):

snmpset -v 2c -c public localhost NET-SNMP-TUTORIAL-MIB::
nstAgentSubagentObject.0 = 5

it says: notWritable (that object does not support modification)

SNMPTRANSLATE says:
NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
nstAgentSubagentObject OBJECT-TYPE
  -- FROM       NET-SNMP-TUTORIAL-MIB
  SYNTAX        Integer32
  MAX-ACCESS    read-write
  STATUS        current
  DESCRIPTION   "This is an object that simply supports a writable integer
         when attached to the agent.  The object should be accessible
         when the agentx subagent containing this object is attached.
         See http://www.net-snmp.org/tutorial-5/toolkit/XXX for
         further implementation details."
  DEFVAL        { 2 }
::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1)
netSnmp(8072) netSnmpExamples(2) netSnmpTutorialMIB(4) nstMIBObjects(1)
nstAgentModules(1) nstAgentSubagentObject(2) 0 }

Please help.

Thanks,
Chino
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.