2# 3# Example configuration file for bsnmpd(1). 4# 5 6# 7# Set some common variables 8# 9host := foo.bar.com 10location := "Room 200" 11contact := "sysmeister@bar.com" 12system := 1 # FreeBSD 13traphost := noc.bar.com 14trapport := 162 15 16# Change this! 17read := "public" 18write := "geheim" 19trap := "mytrap" 20 21# 22# Configuration 23# 24%snmpd 25begemotSnmpdDebugDumpPdus = 2 26begemotSnmpdDebugSyslogPri = 7 27 28begemotSnmpdCommunityString.0.1 = $(read) 29begemotSnmpdCommunityString.0.2 = $(write) 30begemotSnmpdCommunityDisable = 1 31 32# open standard SNMP ports 33begemotSnmpdPortStatus.[$(host)].161 = 1 34begemotSnmpdPortStatus.127.0.0.1.161 = 1 35 36# open a unix domain socket 37begemotSnmpdLocalPortStatus."/var/run/snmpd.sock" = 1 38begemotSnmpdLocalPortType."/var/run/snmpd.sock" = 4 39 40# send traps to the traphost 41begemotTrapSinkStatus.[$(traphost)].$(trapport) = 4 42begemotTrapSinkVersion.[$(traphost)].$(trapport) = 2 43begemotTrapSinkComm.[$(traphost)].$(trapport) = $(trap) 44 45sysContact = $(contact) 46sysLocation = $(location) 47sysObjectId = 1.3.6.1.4.1.12325.1.1.2.1.$(system) 48 49snmpEnableAuthenTraps = 2 50 51# 52# Load MIB-2 module 53# 54begemotSnmpdModulePath."mibII" = "/usr/lib/snmp_mibII.so" 55 56# 57# Netgraph module 58# 59#begemotSnmpdModulePath."netgraph" = "/usr/lib/snmp_netgraph.so" 60# 61#%netgraph 62#begemotNgControlNodeName = "snmpd" 63 64# 65# pf(4) module 66# 67#begemotSnmpdModulePath."pf" = "/usr/lib/snmp_pf.so"
| 2# 3# Example configuration file for bsnmpd(1). 4# 5 6# 7# Set some common variables 8# 9host := foo.bar.com 10location := "Room 200" 11contact := "sysmeister@bar.com" 12system := 1 # FreeBSD 13traphost := noc.bar.com 14trapport := 162 15 16# Change this! 17read := "public" 18write := "geheim" 19trap := "mytrap" 20 21# 22# Configuration 23# 24%snmpd 25begemotSnmpdDebugDumpPdus = 2 26begemotSnmpdDebugSyslogPri = 7 27 28begemotSnmpdCommunityString.0.1 = $(read) 29begemotSnmpdCommunityString.0.2 = $(write) 30begemotSnmpdCommunityDisable = 1 31 32# open standard SNMP ports 33begemotSnmpdPortStatus.[$(host)].161 = 1 34begemotSnmpdPortStatus.127.0.0.1.161 = 1 35 36# open a unix domain socket 37begemotSnmpdLocalPortStatus."/var/run/snmpd.sock" = 1 38begemotSnmpdLocalPortType."/var/run/snmpd.sock" = 4 39 40# send traps to the traphost 41begemotTrapSinkStatus.[$(traphost)].$(trapport) = 4 42begemotTrapSinkVersion.[$(traphost)].$(trapport) = 2 43begemotTrapSinkComm.[$(traphost)].$(trapport) = $(trap) 44 45sysContact = $(contact) 46sysLocation = $(location) 47sysObjectId = 1.3.6.1.4.1.12325.1.1.2.1.$(system) 48 49snmpEnableAuthenTraps = 2 50 51# 52# Load MIB-2 module 53# 54begemotSnmpdModulePath."mibII" = "/usr/lib/snmp_mibII.so" 55 56# 57# Netgraph module 58# 59#begemotSnmpdModulePath."netgraph" = "/usr/lib/snmp_netgraph.so" 60# 61#%netgraph 62#begemotNgControlNodeName = "snmpd" 63 64# 65# pf(4) module 66# 67#begemotSnmpdModulePath."pf" = "/usr/lib/snmp_pf.so"
|