snmpd.conf 744 B

123456789101112131415161718192021222324252627
  1. # Listen for connections from the local system only
  2. agentaddress udp:127.0.0.1:161,udp6:[::1]:161
  3. rocommunity public 127.0.0.1
  4. rocommunity6 public ::1
  5. rwcommunity private 127.0.0.1
  6. Do not enable them - being set here they make appropriate OID switch into r/o
  7. #syslocation "Somewhere in the world"
  8. #syscontact "root"
  9. #SNMPv3 credentials
  10. rouser adminMD5
  11. rouser adminSHA
  12. rwuser adminMD5AES
  13. rouser adminMD5AES128
  14. rouser adminMD5DES
  15. createUser adminMD5 MD5 test1234
  16. createUser adminSHA SHA test1234
  17. createUser adminMD5AES MD5 test1234 AES test1234
  18. createUser adminMD5AES128 MD5 test1234 AES test1234
  19. createUser adminMD5DES MD5 test1234 DES test1234
  20. createUser noAuthUser
  21. authuser read noAuthUser noauth
  22. exec HexTest /bin/sh /etc/snmp/bigtest