My snmpd.conf was

rocommunity public
rwcommunity public
authtrapenable 1
trapsink 10.0.0.45 public
trapcommunity public
rwuser philm noauth

I thought I had tried it with 

rwcommunity private

but obviously not because when I just did it started working (modifying
the set command as well).

Is it not possible (I know it's an unwise thing to do) to set
rwcommunity to public? If not it isn't clear to me why it wasn't working
with the snmpd.conf above.

Thanks in advance

Phil



-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: 30 January 2009 11:03
To: Philip Mason
Cc: [email protected]
Subject: Re: FW: Unable to set the object from the scalar_int example

2009/1/30 Philip Mason <[email protected]>:
> If I try to set it I get the following message:
>
> $ snmpset -c public -v 2c 10.0.0.27 1.3.6.1.4.1.8072.2.1.1.0 i 19
> Error in packet.
> Reason: notWritable (That object does not support modification)


How is the agent configured?
In particular - what access control setting do you have?

Note that the community 'public' is normally configured for
read-only access, so wouldn't support SET requests.

See the FAQ for more details.

Dave

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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