File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / snmp / tests / snmpd.conf
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 01:32:01 2013 UTC (11 years, 3 months ago) by misho
Branches: php, MAIN
CVS tags: v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17, HEAD
5.4.17

# 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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>