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

Reply via email to