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# |
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 |
45begemotSnmpdPortStatus.0.0.0.0.161 = 1 |
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 --- |