Sun GlassFish Enterprise Manager Performance Monitor 1.0 Getting Started Guide

Setting Monitoring Levels

When GlassFish is installed, monitoring is off by default. Additionally, in many product deployments, GlassFish is often run with monitoring off. Thus, you sometimes need to turn monitoring on so that you can diagnose a problem with the help of Performance Monitor. In Performance Monitor, you turn monitoring on in one of two ways, depending on whether you want to monitor web services or other resources.

Setting Monitoring Levels for Web Services

  1. In the Applications window, navigate to the GlassFish server instance hosting the web services you want to monitor.

  2. Click the plus sign next to the GlassFish server instance to display its resources.

  3. Right-click Web Services, and then choose Open from the context menu that appears.

    The Web Services view opens in the views window.

  4. In the table of web services, check the Monitoring Level setting of the web service you want to monitor. If the setting is OFF, choose LOW.

    Monitoring is turned on for the web service.

Setting Monitoring Levels for Other Resources

  1. In the Applications window, navigate to the GlassFish server instance hosting the resources you want to monitor.

  2. Right-click the GlassFish server instance, and then choose Open from the context menu that appears.

    The Server view opens in the views window.

  3. In the list of monitors under Monitoring Configuration, click the OFF link next to any monitor you want to turn on.

    Each time you click the OFF link for a monitor, the monitoring level is set to LOW and the resources handled by that monitor become available to Performance Monitor.