summaryrefslogtreecommitdiff
path: root/etc/snmpd.conf
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2012-09-18 09:57:50 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2012-09-18 09:57:50 +0000
commitff5e5da222f0f843d39505881fe50c120d6fa8a4 (patch)
tree88635c201b35a7e44ed80c405f43ca20a9b94f6d /etc/snmpd.conf
parent8e3a0bd30351f06e84bde4a5f627c11842819e1f (diff)
Add SNMPv3 USM example (commented out)
Diffstat (limited to 'etc/snmpd.conf')
-rw-r--r--etc/snmpd.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/snmpd.conf b/etc/snmpd.conf
index bdea97e9659..9bbf5823b2a 100644
--- a/etc/snmpd.conf
+++ b/etc/snmpd.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: snmpd.conf,v 1.2 2008/01/30 10:21:05 reyk Exp $
+# $OpenBSD: snmpd.conf,v 1.3 2012/09/18 09:57:49 reyk Exp $
listen_addr="127.0.0.1"
@@ -17,3 +17,8 @@ system services 74
# Provide static user-defined SNMP OIDs
oid 1.3.6.1.4.1.30155.42.3.1 name testStringValue read-only string "Test"
oid 1.3.6.1.4.1.30155.42.3.4 name testIntValue read-write integer 1
+
+# Enable SNMPv3 USM with authentication, encryption and two defined users
+#seclevel enc
+#user "user1" authkey "password123" enc aes enckey "321drowssap"
+#user "user2" authkey "password456" enckey "654drowssap"