/etc/snmp/snmpd.conf

Pulled off a training machine for Zenoss. My home ubuntu machine didnt have such great explanation so I thought I would grab it.

####
# First, map the community name "public" into a "security name"
 
#	sec.name  source          community
com2sec notConfigUser  default       public
 
####
# Second, map the security name into a group name:
 
#	groupName      securityModel securityName
group   notConfigGroup v1           notConfigUser
group   notConfigGroup v2c           notConfigUser
 
####
# Third, create a view for us 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
 
####
# Finally, grant the group read-only access to the systemview view.
 
#	group          context sec.model sec.level prefix read   write  notif
access  notConfigGroup ""	any	  noauth    exact  systemview none none

SNMP cheatsheets

Winston drew these for me during training! Thanks.

snmpdiagram.jpg

snmptreeex.jpg

 
technology/unix/snmp.txt · Last modified: 02.18.2009 17:58 by 72.81.253.234
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki