Sun Cluster 2.2 System Administration Guide

D.6.1 How to Configure the Cluster SNMP Agent Port

To configure the cluster SNMP agent on a port other than the default UDP Port 161, perform the following steps.

  1. Edit the /opt/SUNWcluster/bin/init.snmpd file and change the value of the CSNMP_PORT variable from 161 to the desired value.

  2. Edit the /opt/SUNWcluster/bin/smond_ctl file and change the value of the CSNMP_PORT variable from 161 to the same value you chose in Step 1.

  3. Stop and then restart both the snmpd and smond daemons for the changes to take effect.

    # /opt/SUNWcluster/bin/smond_ctl stop
    # /opt/SUNWcluster/bin/init.snmpd stop
    # /opt/SUNWcluster/bin/smond_ctl start
    # /opt/SUNWcluster/bin/init.snmpd start
    

    Note -

    Configuration files specific to the SNMP manager may need to be edited for SNMP manager to become aware of the new port number. Refer to your SNMP manager documentation for more information. Alternatively, you can configure the master SNMP agent on the Administrative workstation to start the cluster SNMP proxy agent as a subagent on a port other than 161. See the Solstice Enterprise Agents User's Guide or the snmpdx(1M) man page for information on how to configure the master SNMP agent.