Enabling SNMP on Solaris 10 and Solaris 11
This article provides the simple steps to enable SNMP under Solaris 10 and Solaris 11
Solaris 10
- Edit community string, acl on config file:
/etc/sma/snmp/snmpd.conf
- By default SNMP service is installed and enabled on Solaris 10 with service name:
sma
- After change config file you need to restart sma service for changes take effect.
# svcadm restart sma
MIBs are located in: /etc/sma/snmp/mibs/
Solaris 11
- Edit community string, acl on config file:
/etc/net-snmp/snmp/snmpd.conf
- By default SNMP service is installed and disabled on Solaris 10 with service name:
net-snmp
so we need to enable it:# svcadm enable net-snmp
- MIB located in: /etc/net-snmp/snmp/mibs/
Testing SNMP
You can test using snmpwalk
# snmpwalk -v2c -cpublic IP_ADDRESS