Sun Directory Services 3.1 Administration Guide

Configuring the SNMP Agents

When you install Sun Directory Services on a Solaris 2.6 machine, configuration information for the dsnmpserv and dsnmprad agents is added to the configuration of the Solaris master agent snmpdx, and all SNMP agents are started. By default, the Sun Directory Services agents report events to the local host. The UDP ports that the agents use are dynamically assigned by the master agent.

In both cases, you can configure the hosts to which the SNMP agents report events. This is done using the dsnmpcfg command as follows (you must be logged in as root):

# /opt/SUNWconn/ldap/sbin/dsnmpcfg configure

You are prompted to provide the hostnames of the machines to which you want each agent to report events. If the agents are running when you perform the configuration, they are restarted to take your changes into account.