Re: Error while setting value using NMS / snmpset
"Vishal N" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks, the entry is read-write, so it should allow me to write as well, correct? are you sure If it is read-only it will allow for any modifications? Vishal N On Thu, Feb 21, 2008 at 12:31 PM, san <[email protected]> wrote: > > Hi, > > >snmpset -c public 192.168.9.173 1.3.6.1.4.1.38493.1.8 Integer32 7 > >Error in packet. > >Reason: notWritable (that object does not support modification) > > Please check in the MIB file the access given to the entity is it > read-only or read-write > > as you said you have generated code for mib2c, it will pick the values > form your MIB > > If it is read-only it will allow for any modifications,I suppose that > would be the cause > > San > > > > On 2/21/08, Vishal N <[email protected]> wrote: > > > Hi, > > > > I have create code using mib2c for scalar object. Also wrote my variable > > where needed. I have wrote code to set this value using NMS / snmpset > > command. I have wrote actual code to set varaible value under case > > MODE_SET_ACTION. > > > > I am using "*(request->requestvb->val.integer)" to read the value came > > from NMS / snmpget command. > > > > But while I am getting following error - > > > > snmpset -c public 192.168.9.173 1.3.6.1.4.1.38493.1.8 Integer32 7 > > Error in packet. > > Reason: notWritable (that object does not support modification) > > > > what could be reason for this? or is there any link from which I can get > > this information? > > > > Vishal N > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Net-snmp-users mailing list > > [email protected] > > Please see the following page to unsubscribe or change other options: > > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users