Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo Enable Monitoring

The set(1) command enables monitoring for Enterprise Server components and services. By setting the monitoring level to HIGH or LOW, you start monitoring for that service or component. For the Prelude release of Enterprise Server, there is no difference between the HIGH and LOW settings.

  1. Determine which services and components are currently enabled for monitoring.

    asadmin get server.monitoring-service.module-monitoring-levels.*

    The following example output shows that monitoring for the HTTP service is not enabled (OFF), but other objects are enabled:

  2. Enable monitoring for each service or component that you want to monitor.

    The following example command enables monitoring for the HTTP service by setting the monitoring level to HIGH:

    asadmin set server.monitoring-service.module-monitoring-levels.http-service=HIGH
See Also

To see the full syntax and options of the command, type asadmin set --help at the command line.