Re: Error while setting value using NMS / snmpset

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

regitered object using -
       netsnmp_register_scalar(netsnmp_create_handler_registration
                            ("maintenanceMode", handle_maintenanceMode,
                             maintenanceMode_oid,
                             OID_LENGTH(maintenanceMode_oid),
                             HANDLER_CAN_RWRITE));
My snmpd.conf file looks like

syslocation  "SaiRadhey"
syscontact  [email protected]
rocommunity public
rocommunity system
informsink 192.168.9.217
trapcommunity  public

How to configure access control in agent?

Vishal N

On Thu, Feb 21, 2008 at 2:44 PM, Dave Shield <[email protected]>
wrote:

> On 21/02/2008, Vishal N <[email protected]> wrote:
> > 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)
>
> How have you registered the object?
> What does the initialisation code for this module look like?
>
> How have you configured access control in the agent?
> What does the snmpd.conf file look like?
>
> Can you successfully run GET requests on this object?
>
> Dave
>

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