Skip navigation
Currently Being Moderated

Appendix b.3 Community Information

Created on: Oct 27, 2010 1:32 PM by Zenoss API - Last Modified:  Oct 27, 2010 1:32 PM by Zenoss API

 3. Community Information

Add these lines to your snmp.conf file.

This line will map the community name "public" into a "security name":

# source community
com2sec notConfigUser default public

This line will map the security name into a group name:

# groupName securityModel securityName
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser

This line will create a view for you to let the group have rights to:

# Make at least snmpwalk -v 1 localhost -c public system fast again.
# name incl/excl subtree mask(optional)
view systemview included .1

This line will grant the group read-only access to the systemview view.

# group context sec.model sec.level prefix read write
access notConfigGroup "" any noauth exact systemview
none none
Comments (0)