Sun Cluster 2.2 System Administration Guide

D.7 Using the SNMP Agent With SunNet Manager

The cluster SNMP agent has been qualified with the SunNet Manager. Perform the following procedures prior to using SunNet Manager to monitor clusters.


Note -

These procedures assume you are using the UDP port 161 for SNMP. If you changed the port number as described in "D.6 Configuring the Cluster SNMP Agent Port", you need to run the SunNet Manager SNMP proxy agent, na.snmp to use the alternate port.


D.7.1 How to Use the SNMP Agent With SunNet Manager to Monitor Clusters

  1. Copy the cluster MIB /opt/SUNWcluster/etc/sun.mib to /opt/SUNWconn/snm/agents/cluster.mib on the SunNet Manager console.

  2. On the SunNet Manager console run mib2schema on the copied cluster.mib file:

    # /opt/SUNWconn/snm/bin/mib2schema cluster.mib
    
  3. On the Sun Cluster Administrative workstation, edit the snmpd.conf file and set the parameter string in the trap keyword to the name of the SunNet Manager console.

    For more information on editing the snmpd.conf file, refer to "D.5 Changing the snmpd.conf File".

  4. Run the smond_conf command on the Sun Cluster Administrative workstation for each cluster you want to monitor. For example:

    # /opt/SUNWcluster/bin/smond_conf -h [clustername ...]
  5. Set the proxy for cluster-snmp to be the name of the SunNet Manager console.


    Note -

    In order to monitor clusters, you must also monitor the Administrative workstation using SunNet Manager.


D.7.2 How to Reconfigure smond to Monitor a Different Cluster

You can reconfigure the smond daemon to monitor a different cluster.

  1. Stop the snmpd daemon by using:

    # /opt/SUNWcluster/bin/init.snmpd stop
    
  2. Reconfigure the smond daemon by using:

    # /opt/SUNWcluster/bin/smond_conf -h [clustername ...]
  3. Start the snmpd daemon by using:

    # /opt/SUNWcluster/bin/init.snmpd start
    
  4. Start the smond daemon by using:

    # /opt/SUNWcluster/bin/smond_ctl start