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