Re: Error while setting value using NMS / snmpset

san <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
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.