Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo Disable Monitoring

The set(1) command enables you to disable monitoring for Enterprise Server services and components.

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


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

    The following example output shows that monitoring is enabled for web-container, http-service, and jvm:


    configs.config.server-config.monitoring-service.module-monitoring-levels.web-container=HIGH
           configs.config.server-config.monitoring-service.module-monitoring-levels.http-service=HIGH
                  configs.config.server-config.monitoring-service.module-monitoring-levels.jvm=HIGH 
  2. Disable monitoring for a service or component that you do not want to monitor.

    The following example command disables monitoring for the HTTP service by setting the monitoring level to OFF:


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

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