[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Addig more information to snmp replies on OpenBSD



Don't know, but the following gives RO access to all the (available and
compiled-in) MIBS for any machine on the 17.16.0.0 network.  I am using
"ucd-snmp-4.2.6" on OpenBSD3.4-stable. 

#       sec.name  source          community
com2sec mynetwork 172.16.0.0/24   YOURCOMMUNITYHERE

####
# Second, map the security names into group names:

#               sec.model  sec.name
group MyROGroup v1         mynetwork
group MyROGroup v2c        mynetwork
group MyROGroup usm        mynetwork

####
# Third, create a view for us to let the groups have rights to:

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

####
# Finally, grant the 2 groups access to the 1 view with different
# write permissions:

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

stan wrote:
> On Thu, Feb 05, 2004 at 06:31:38PM -0500, Steven S. wrote:
>> /etc/snmpd.conf (man snmpd.conf)
>> 
>> Look at the 'com2sec', 'group', 'view' and 'access' directives (I
>> assume your running snmpV1.) 
>> 
> This has gotten complex since the last time I looked at it. All I
> really need to do is add a few MIBS for read only access. 
> 
> Are there any good beginier level docs on the current state of this?