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