1# $OpenBSD: snmpd.conf,v 1.2 2021/08/08 13:43:10 sthen Exp $ 2 3# Default listens on all addresses for SNMPv3 only; "listen on" overrides this 4# See snmpd.conf(5) for more options (tcp, alternative ports, trap listener) 5#listen on 192.0.2.1 # SNMPv3 on one specific address 6#listen on 0.0.0.0 snmpv2c snmpv3 # All IPv4 addresses, both v2c + v3 7#listen on :: snmpv2c snmpv3 # All IPv6 addresses, both v2c + v3 8#listen on 127.0.0.1 snmpv2c # IPv4 localhost only, v2c 9 10# Define a RO community if you use SNMPv2c (there is no default) 11#read-only community MWgp3MWbD2khaYnwy2B 12 13# At least one user must be defined to use SNMPv3 14#user "user1" auth hmac-sha1 authkey "password123" enc aes enckey "321drowssap" 15#user "user2" auth hmac-sha256 authkey "password456" enc aes enckey "654drowssap" 16 17# Send traps from snmpd(8) to one or more receivers 18#trap receiver nms.localdomain.local community PAV9kpE02gDPvAi source-address 192.0.2.1 19 20# Adjust the local system information 21#system contact "Charlie Root (root@myhost.example.com)" 22#system description "Powered by OpenBSD" 23#system location "Rack A1-24, Room 13" 24 25# Required by some management software 26#system services 74 27