3 # Example configuration file for bsnmpd(1).
7 # Set some common variables
10 location := "Room 200"
11 contact := "sysmeister@bar.com"
18 # Uncomment line 42 that sets the community string to enable write access.
26 begemotSnmpdDebugDumpPdus = 2
27 begemotSnmpdDebugSyslogPri = 7
30 # Set the read and write communities.
32 # The default value of the community strings is NULL (note, that this is
33 # different from the empty string). This disables both read and write access.
34 # To enable read access only the read community string must be set. Setting
35 # the write community string enables both read and write access with that
38 # Be sure to understand the security implications of SNMPv2 - the community
39 # strings are readable on the wire!
41 begemotSnmpdCommunityString.0.1 = $(read)
42 # begemotSnmpdCommunityString.0.2 = $(write)
43 begemotSnmpdCommunityDisable = 1
45 # open standard SNMP ports
46 begemotSnmpdPortStatus.[$(host)].161 = 1
47 begemotSnmpdPortStatus.127.0.0.1.161 = 1
49 # open a unix domain socket
50 begemotSnmpdLocalPortStatus."/var/run/snmpd.sock" = 1
51 begemotSnmpdLocalPortType."/var/run/snmpd.sock" = 4
53 # send traps to the traphost
54 begemotTrapSinkStatus.[$(traphost)].$(trapport) = 4
55 begemotTrapSinkVersion.[$(traphost)].$(trapport) = 2
56 begemotTrapSinkComm.[$(traphost)].$(trapport) = $(trap)
58 sysContact = $(contact)
59 sysLocation = $(location)
60 sysObjectId = 1.3.6.1.4.1.12325.1.1.2.1.$(system)
62 snmpEnableAuthenTraps = 2
67 begemotSnmpdModulePath."mibII" = "/usr/lib/snmp_mibII.so"
72 #begemotSnmpdModulePath."netgraph" = "/usr/lib/snmp_netgraph.so"
75 #begemotNgControlNodeName = "snmpd"
80 #begemotSnmpdModulePath."pf" = "/usr/lib/snmp_pf.so"
83 # Host resources module
84 # This requires the mibII module.
86 #begemotSnmpdModulePath."hostres" = "/usr/lib/snmp_hostres.so"