mirror of
https://github.com/php/php-src.git
synced 2024-12-14 12:26:19 +08:00
390b74ee34
This can avoid some confusions with .gitignored autogenerated `.sh` files in test directories and to distinguish the autogenerated shell files from the tracked in Git ones more easily.
28 lines
744 B
Plaintext
28 lines
744 B
Plaintext
# 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
|