Bind to INADDR_ANY in the default configuration. This makes bsnmpd(1)

automatically work on multi-homed hosts and without explicite specification
of the hostname in the config file.

Submitted by:	jmg
This commit is contained in:
Hartmut Brandt 2006-10-31 10:23:28 +00:00
parent d9be51413b
commit 57a8709500
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163823

View File

@ -6,7 +6,6 @@
#
# Set some common variables
#
host := foobar
location := "Room 200"
contact := "sysmeister@example.com"
system := 1 # FreeBSD
@ -43,8 +42,7 @@ begemotSnmpdCommunityString.0.1 = $(read)
begemotSnmpdCommunityDisable = 1
# open standard SNMP ports
begemotSnmpdPortStatus.[$(host)].161 = 1
begemotSnmpdPortStatus.127.0.0.1.161 = 1
begemotSnmpdPortStatus.0.0.0.0.161 = 1
# open a unix domain socket
begemotSnmpdLocalPortStatus."/var/run/snmpd.sock" = 1