Object not writable

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'...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2006
Chino Aureus
 
Posts: n/a
Default Object not writable

------=_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&nbsp; 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.&nbsp; I was able to
execute snmpget and get the result ok.&nbsp; 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>
&nbsp; -- FROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NET-SNMP-TUTORIAL-MIB<br=
>

&nbsp; SYNTAX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Integer32<br>
&nbsp; MAX-ACCESS&nbsp;&nbsp;&nbsp; read-write<br>
&nbsp; STATUS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; current<br>
&nbsp; DESCRIPTION&nbsp;&nbsp; &quot;This is an object that simply supports=
a writable integer<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ; when attached to the agent=
..&nbsp; The object should be accessible<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ; when the agentx subagent c=
ontaining this object is attached.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ; 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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ; further implementation det=
ails.&quot;<br>
&nbsp; DEFVAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { 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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:51 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0