diff options
author | harti <harti@FreeBSD.org> | 2006-10-31 10:23:28 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2006-10-31 10:23:28 +0000 |
commit | 969c2980913d0057450d6c57805ba57b5d5a4461 (patch) | |
tree | a15a62b87054c5d4d0d395f39eb203f89ba50d17 /etc/snmpd.config | |
parent | 9f1a71f4be3e05042a700dd887b7818e48642c3a (diff) | |
download | FreeBSD-src-969c2980913d0057450d6c57805ba57b5d5a4461.zip FreeBSD-src-969c2980913d0057450d6c57805ba57b5d5a4461.tar.gz |
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
Diffstat (limited to 'etc/snmpd.config')
-rw-r--r-- | etc/snmpd.config | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/snmpd.config b/etc/snmpd.config index eba575b..60fad34 100644 --- a/etc/snmpd.config +++ b/etc/snmpd.config @@ -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 |