This is a discussion on Object not writable within the SNMP Users forums, part of the Networking and Network Related category; ------=_Part_6427_26508487.1144829516848 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I'...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
------=_Part_6427_26508487.1144829516848
Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I'm new to snmp I was trying the sub-agent example in this web site: http://www.net-snmp.com/tutorial/tut...mon/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 =3D 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 } ::=3D { 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 ------=_Part_6427_26508487.1144829516848 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,<br> <br> I'm new to snmp I was trying the sub-agent example in this web site:<= br> <br> <span style=3D"font-weight: bold;"><a href=3D"http://www.net-snmp.com/tutor= ial/tutorial-5/toolkit/demon/index.html">http://www.net-snmp.com/tutorial/t= utorial-5/toolkit/demon/index.html</a></span><br> <br> Compilation and execution of subagent went ok. I was able to execute snmpget and get the result ok. However, when I executed (SNMPSET): <br> <br> <span style=3D"font-style: italic;">snmpset -v 2c -c public localhost NET-S= NMP-TUTORIAL-MIB::nstAgentSubagentObject.0 =3D 5</span><br> <br> it says: <span style=3D"font-style: italic;">notWritable (that object does = not support modification)<br> <span style=3D"font-style: italic;"><br> </span></span>SNMPTRANSLATE says:<br> NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0<br> nstAgentSubagentObject OBJECT-TYPE<br> -- FROM NET-SNMP-TUTORIAL-MIB<br= > SYNTAX Integer32<br> MAX-ACCESS read-write<br> STATUS current<br> DESCRIPTION "This is an object that simply supports= a writable integer<br>   ; when attached to the agent= .. The object should be accessible<br>   ; when the agentx subagent c= ontaining this object is attached.<br>   ; See <a href=3D"http://www.= net-snmp.org/tutorial-5/toolkit/XXX">http://www.net-snmp.org/tutorial-5/too= lkit/XXX</a> for<br>   ; further implementation det= ails."<br> DEFVAL { 2 }<br> ::=3D { 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 }<br> <br> Please help.<br> <br> Thanks,<br> Chino<br> <br> <span style=3D"font-style: italic;"><span style=3D"font-style: italic;"></s= pan></span> ------=_Part_6427_26508487.1144829516848-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=...720&dat=121642 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |