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:
parent
d9be51413b
commit
57a8709500
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user