Skip to content

Test Environments

BornToBeRoot edited this page Oct 30, 2023 · 1 revision

Test Environment

SNMP

Simple, but insecure snmpd.conf:

sysLocation    Testserver
sysContact     Test <test@borntoberoot.net>
sysServices    72

master  agentx

agentaddress  udp:161,udp6:161

view   systemonly  included   .1.3.6.1.2.1.1
view   systemonly  included   .1.3.6.1.2.1.25.1


# v2c
rocommunity  public default -V systemonly
rocommunity6 public default -V systemonly

# v3
createuser authPrivUser SHA-512 auth123456789 AES priv987654321
rouser authPrivUser authpriv -V systemonly

# include a all *.conf files in a directory
includeDir /etc/snmp/snmpd.conf.d
Clone this wiki locally