Install from repository:
pkg install system/management/snmp/net-snmp
Add the following to /etc/net-snmp/snmp/snmpd.conf
syscontact “user@domain”
syslocation “Location”rocommunity public
rwcommunity private 127.0.0.1
Enable the service
svcadm enable net-snmp
Check that the service is running:
netstat -an -P udp | grep 161
From another host do an snmp query:
snmpwalk -v 2c -c public 192.168.1.5
Leave a comment