diff options
-rw-r--r-- | MANIFEST.in | 2 | ||||
-rw-r--r-- | docs/net-snmpd.conf | 29 |
2 files changed, 30 insertions, 1 deletions
diff --git a/MANIFEST.in b/MANIFEST.in index 4995a2d9..d3a192ed 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ include CHANGES README LICENSE THANKS recursive-include examples *.py recursive-include tools build-pysnmp-mib libsmi2pysnmp -recursive-include docs *.txt *.html *.gif +recursive-include docs *.txt *.html *.gif *.conf diff --git a/docs/net-snmpd.conf b/docs/net-snmpd.conf new file mode 100644 index 00000000..db34fc04 --- /dev/null +++ b/docs/net-snmpd.conf @@ -0,0 +1,29 @@ +# To run the examples shipped with this distribution with a Net-SNMP +# Agent (snmpd) listening at your localhost, the following configuration +# tokens should be put into: + +# ... /var/lib/net-snmp/snmpd.conf (while snmpd is down) +createUser usr-md5-des MD5 authkey1 DES privkey1 +createUser usr-md5-none MD5 authkey1 +createUser usr-none-none +createUser usr-sha-des SHA authkey1 DES privkey1 +createUser usr-sha-none SHA authkey1 +createUser usr-sha-aes SHA authkey1 AES privkey1 +createUser usr-sha-aes128 SHA authkey1 AES privkey1 +createUser usr-md5-aes MD5 authkey1 AES privkey1 +createUser usr-md5-aes128 MS5 authkey1 AES privkey1 + +# ... and the following access control statements to /etc/snmpd/snmpd.conf +group MyRWGroup usm usr-md5-des +group MyRWGroup usm usr-md5-none +group MyRWGroup usm usr-none-none +group MyRWGroup usm usr-sha-aes +group MyRWGroup usm usr-sha-aes128 +group MyRWGroup usm usr-sha-none +group MyRWGroup usm usr-md5-aes +group MyRWGroup usm usr-md5-aes128 +group MyRWGroup usm usr-sha-des + +# This is usually already there by default +access MyRWGroup "" any noauth exact all all all + |