1. Net-SNMP Configuration Settings

These are the Net-SNMP configurations settings that are needed for Zenoss. Add these lines to your snmpd.conf.

1.1. 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 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
notif
access notConfigGroup "" any noauth exact systemview
none none

1.2. 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)
# Added for support of bcm5820 cards. pass .1 /usr/bin/ucd5820stat

1.3. Extra Information

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

trapcommunity public
trapsink default