Solaris 10 and Net-SNMP

Apparently Net-SNMP is now included in Solaris 10 by default, however it is not enabled by default. To use it you must first disable Sun’s SNMP.

#svcadm disable svc:/application/management/snmpdx:default

Net-SNMP is part of Solaris’ System Management Agent. More about that here:
Solaris System Management Agent Developer’s Guide

Net-SNMP daemon is located at /usr/sfw/sbin/snmpd, and
its configuration file is located in /etc/sma/snmp.

You will need to use svcadm to start and stop Net-SNMP:

#svcadm enable svc:/application/management/sma:default
#svcadm disable svc:/application/management/sma:default

Apparently there are two logs that you can reference for Net-SNMP

SMA’s log is located here — /var/svc/log/application-management-sma\:default.log.
However the default log
file of snmpd is /var/log/snmpd.log.

You also have an init script in /etc/init.d called  init.sma

2 thoughts on “Solaris 10 and Net-SNMP

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s