1# $FreeBSD: head/etc/snmpd.config 156070 2006-02-27 16:31:01Z harti $
2#
3# Example configuration file for bsnmpd(1).
4#
5
6#
7# Set some common variables
8#
9host := foobar
10location := "Room 200"
11contact := "sysmeister@example.com"
12system := 1 # FreeBSD
13traphost := localhost
14trapport := 162
15
16# Change this!
17read := "public"
--- 20 unchanged lines hidden (view full) ---
38# Be sure to understand the security implications of SNMPv2 - the community
39# strings are readable on the wire!
40#
41begemotSnmpdCommunityString.0.1 = $(read)
42# begemotSnmpdCommunityString.0.2 = $(write)
43begemotSnmpdCommunityDisable = 1
44
45# open standard SNMP ports
46begemotSnmpdPortStatus.[$(host)].161 = 1
47begemotSnmpdPortStatus.127.0.0.1.161 = 1
48
49# open a unix domain socket
50begemotSnmpdLocalPortStatus."/var/run/snmpd.sock" = 1
51begemotSnmpdLocalPortType."/var/run/snmpd.sock" = 4
52
53# send traps to the traphost
54begemotTrapSinkStatus.[$(traphost)].$(trapport) = 4
55begemotTrapSinkVersion.[$(traphost)].$(trapport) = 2
--- 37 unchanged lines hidden ---
2#
3# Example configuration file for bsnmpd(1).
4#
5
6#
7# Set some common variables
8#
9host := foobar
10location := "Room 200"
11contact := "sysmeister@example.com"
12system := 1 # FreeBSD
13traphost := localhost
14trapport := 162
15
16# Change this!
17read := "public"
--- 20 unchanged lines hidden (view full) ---
38# Be sure to understand the security implications of SNMPv2 - the community
39# strings are readable on the wire!
40#
41begemotSnmpdCommunityString.0.1 = $(read)
42# begemotSnmpdCommunityString.0.2 = $(write)
43begemotSnmpdCommunityDisable = 1
44
45# open standard SNMP ports
46begemotSnmpdPortStatus.[$(host)].161 = 1
47begemotSnmpdPortStatus.127.0.0.1.161 = 1
48
49# open a unix domain socket
50begemotSnmpdLocalPortStatus."/var/run/snmpd.sock" = 1
51begemotSnmpdLocalPortType."/var/run/snmpd.sock" = 4
52
53# send traps to the traphost
54begemotTrapSinkStatus.[$(traphost)].$(trapport) = 4
55begemotTrapSinkVersion.[$(traphost)].$(trapport) = 2
--- 37 unchanged lines hidden ---