Enable SNMP on OpenSolaris

If you like to monitor your machines using SNMP and find yourself on a machine running OpenSolaris, chances are that there is

/usr/sfw/bin/snmpd

already installed. But there’s no service or init script to actually run it automatically. In that case, just install the necessary package from the OpenSolaris repostiory:

pkg install SUNWsmmgr

{openx:6}

Afterwards, you can enable SNMP by issuing

svcadm enable sma

. Don’t forget to first edit

/etc/sma/snmp/snmpd.conf

.