2009/7/2  <[email protected]>:
> -----------------snmpd.conf ---------------------------
>
> com2sec local     127.0.0.1             public
> com2sec local     127.0.0.1             private
> com2sec test      172.16.248.0/24       public
> com2sec test      10.5.5.0/24           public
> com2sec test      10.5.5.0/24           private

> group RO  v1        local
> group RO  v2c       local
> group RW  v2c       local
> group RW  v1        local

> group RO  v1        test
> group RO  v2c       test
> group RW  v1        test
> group RW  v2c       test
>
>
> view all    included  .1                             80
>
> access RO          ""      any       noauth    exact      all    none   none
> access RW          ""      any       noauth    exact      all    all    all

There are multiple issues with that setup,
and I'm not at all surprised things aren't working.
It's very very confused over read-only vs read-write settings.

But rather than try to fix this individually, I'd suggest you
forget about the low-level access control settings completely,
and simply use "r[ow]community" instead.

Try something like


     rocommunity public localhost
     rocommunity public 10.5.5.0/24
     rocommunity public 172.16.248.0/24

     rwcommunity private localhost
     rwcommunity private 10.5.5.0/24


That should work, and be much clearer as to what is happening.

Dave

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