Archived community.zenoss.org | full text search
Skip navigation
Currently Being Moderated

Configuration of NetSnmp for use with Zenoss

VERSION 1 
Created on: Sep 14, 2009 11:21 AM by Noel Brockett - Last Modified:  Sep 14, 2009 11:21 AM by Noel Brockett

Net-Snmp configurations settings

 

These are the Net-Snmp configurations settings that are needed for Zenoss. Add these lines to your snmpd.conf , which is ussually located at /etc/snmp/.

Community Information

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

 

#       sec.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 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

 

This line will 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

System Contact Information

It is also possible to set the sysContact and sysLocation system variables through the snmpd.conf file:

 

syslocation Unknown (edit /etc/snmp/snmpd.conf)
syscontact Root <root@localhost> (configure /etc/snmp/snmp.local.conf)

Extra Information

# Added for support of bcm5820 cards.
pass .1 /usr/bin/ucd5820stat

 

See the snmpd.conf manual page, and the output of "snmpd -H".

 

trapcommunity public
trapsink default
Comments (0)