summaryrefslogtreecommitdiffstats
path: root/contrib/bsnmp/snmpd/snmpd.config
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bsnmp/snmpd/snmpd.config')
-rw-r--r--contrib/bsnmp/snmpd/snmpd.config16
1 files changed, 15 insertions, 1 deletions
diff --git a/contrib/bsnmp/snmpd/snmpd.config b/contrib/bsnmp/snmpd/snmpd.config
index 8de767c..4b018e8 100644
--- a/contrib/bsnmp/snmpd/snmpd.config
+++ b/contrib/bsnmp/snmpd/snmpd.config
@@ -42,6 +42,8 @@ traphost := noc.bar.com
trapport := 162
read := "public"
+# Uncomment the line below that sets the community string
+# to enable write access.
write := "geheim"
trap := "mytrap"
@@ -52,8 +54,20 @@ trap := "mytrap"
begemotSnmpdDebugDumpPdus = 2
begemotSnmpdDebugSyslogPri = 7
+#
+# Set the read and write communities.
+#
+# The default value of the community strings is NULL (note, that this is
+# different from the empty string). This disables both read and write access.
+# To enable read access only the read community string must be set. Setting
+# the write community string enables both read and write access with that
+# string.
+#
+# Be sure to understand the security implications of SNMPv2 - the community
+# strings are readable on the wire!
+#
begemotSnmpdCommunityString.0.1 = $(read)
-begemotSnmpdCommunityString.0.2 = $(write)
+# begemotSnmpdCommunityString.0.2 = $(write)
begemotSnmpdCommunityDisable = 1
# open standard SNMP ports
OpenPOWER on IntegriCloud