The PMM Sun One monitor uses SNMP to retrieve server statistics.

To use this monitor you must:

  1. Install SNMP support for Windows.
  2. Ensure that the iPlanet SNMP agent is installed and activated on the iPlanet server host.
  3. Configure the Sun One server to be a proxy for the SNMP agent.

  4. Configure the Sun One server host to use port 1161 as the SNMP message port.
  5. Enable SNMP Statistics Collection on the SNMP Subagent Configuration page of the Server Manager.
Setting up the SNMP Agent and Configuring the Sun One Server as a Proxy for the SNMP Agent

To enable PMM to monitor performance data from the Sun One application server you must first set up the Sun One SNMP agent. The Administration Interface will not start the OS master agent on ports other than 161. The workaround is to use the Sun One SNMP master agent, modify the native master agent to use a different port, and enable the Sun One SNMP subagent to gather information about the server.

To set up the Sun One SNMP agent on Solaris:

  1. Check whether an SNMP daemon (snmpd) is running on port 161.

    If an SNMP daemon is running:

    a.        Make sure you know how to restart it and which MIB it supports.

    b.       Kill its process.

  2. Edit the CONFIG file located in the plugins/snmp/magt server root directory from:
  3. snmp 161/udp

    To:

    snmp 1161/udp

  4. Manually activate the Sun One master agent and subagent.
  5. a.        At the command prompt, enter the commands:

    cd <iws_install>/Servers/plugins/snmp

    cd maget

    ./magt CONFIG INIT&

    cd ../sagt

    ./sagt -c CONFIG &

    b.       Restart the Sun One Server and the subagent from the Web server Administration.