This file has two parts. The first part
is related to the view, user and community configuration for snmp V2-usec.
The second part is for the Linux port and allows to set additional configuration items:
The Linux specific part consists of lines containing a <key> followed
by a : and a <value>.
Lines beginning with a # and empty lines are ignored.
The recognized key and value pairs are as follows:
## /etc/snmpd.conf:
##
## view configuration
##
## viewName OID included/excluded
##
##
internet
view all .1.3.6.1 included
## internet
view mini .1.3.6.1 included
##
for v1 public exclude exclude mib-2.ident.identInfo
## and mib-2.host.hrSWRun
in the mini view:
view xmini .1.3.6.1 included
view xmini .1.3.6.1.2.1.24.1 excluded
view xmini .1.3.6.1.2.1.25.4 excluded
## system, snmp, usecAgent, usecStats
view semi .1.3.6.1.2.1.1 included
view semi .1.3.6.1.2.1.11 included
view semi .1.3.6.1.6.3.6.1.1 included
view semi .1.3.6.1.6.3.6.1.2 included
## snmp, usecAgent, usecStats
view semi .1.3.6.1.2.1.11 included
view semi .1.3.6.1.6.3.6.1.1 included
view semi .1.3.6.1.6.3.6.1.2 included
##
## user configuration
##
## noneRV noneWV authRV authWV userName[/authKey]
##
user mini - all all public/0x05a1483bb7a0b314cc5cf9d27aee2a89
##
##
community configuration
##
## commName readV writeV
##
community public xmini -
community private mini mini
##
## now follows the specific section of
the linux-port.
##
##
## port to use (default is 161):
##
# port: 161
##
## the entry of system.Contact and system.Location:
##
sysContact: Kaept'n
Koerg
sysLocation: Outer Regions
## system name is per default determined
from the hostname:
# sysName: chappell
##
## trap sink address and
community string. (passed to snmptrap(1)
## utility). authentraps contains
the value of snmpEnableAuthenTraps;
## (``enabled'' == send traps, default
is ``disabled'' == do not send traps).
##
trap sink: localhost
trap community: public
snmpEnableAuthenTraps: enabled
##
## type and speed of interfaces:
## if the last char is an asterisk, any suffix will match.
##
interface: lo0 24 20000000
interface: eth0 6 10000000
interface: sl* 28 38400
interface: ppp* 23 38400
## end of /etc/snmpd.conf