RE: Set operation failed ....

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC08E26168@mailserver.metatv-ds.metatv.com>
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of deka aditia
> Sent: Tuesday, July 15, 2008 10:05 PM

> currently my agent development is got an obstacle ...
> i clearly have GET operation success ...
> but the SET operation always failed ...
> i dont know .. is there any one know how the configuration 
> file must be ?
> this is my snmpd.conf file:

[trimming out most comments...]

> syslocation  Indonesia

	Well, that really narrows it down!

> syscontact  "deka aditia"

> #                 sec.model  sec.name
> group MyROGroup    v1         local
> group MyRWGroup    v1        local


> #           incl/excl subtree                          mask
> 
> #awal
> view all    included  .1                               80

> #                context sec.model sec.level match  read write  notif
> access MyROGroup ""      any       noauth    exact  all    none   none
> access MyRWGroup ""      any       noauth    exact  all    all    none
> 
> 
> master agentx

	This configuration reads?  How?  You are trying to use the same security name for your read and write groups, which is wrong.  You never map security name "local" to a v1 community string with a com2sec statement, so how does any community have access?
 
> moreover i always cannot set all the object in MIB (such as 
> sysContact or sysLocation)

http://www.net-snmp.org/wiki/index.php/FAQ:Applications_14


	HTH,

Mike

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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.