On Mon, 2005-08-01 at 11:24 +0800, [EMAIL PROTECTED] wrote:
> When i used the snmpset command to set the value of syscontact.0
> i always got an error :not writtable.

> i wanna know how should i configure the snmpd.conf to run snmpset?

You need to do two things:

   - first, add a line "rwcommunity private"

(and then use "snmpset -v2c -c private localhost .....")
This should allow SET requests to any (writeable) MIB object.

[Or you could use the SNMPv3 configuration that malini suggests)


  - second, check that the snmpd.conf file does *not*
    contain a line "syscontact .....".   If it does, then this
    will prevent you setting sysContact.0 via a SET request.

Dave


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to