snmpd.conf   [plain text]


# Listen for connections from the local system only
agentaddress udp:127.0.0.1:161,udp6:[::1]:161

rocommunity public 127.0.0.1
rocommunity6 public ::1
rwcommunity private 127.0.0.1

Do not enable them - being set here they make appropriate OID switch into r/o
#syslocation  "Somewhere in the world"
#syscontact  "root"

#SNMPv3 credentials
rouser adminMD5
rouser adminSHA
rwuser adminMD5AES
rouser adminMD5AES128
rouser adminMD5DES
createUser adminMD5 MD5 test1234
createUser adminSHA SHA test1234
createUser adminMD5AES MD5 test1234 AES test1234
createUser adminMD5AES128 MD5 test1234 AES test1234
createUser adminMD5DES MD5 test1234 DES test1234

createUser noAuthUser
authuser read noAuthUser noauth

exec HexTest /bin/sh /etc/snmp/bigtest.sh