Sun Java System Application Server Enterprise Edition 8.2 Administration Guide

Enabling and Disabling Monitoring

In the Admin Console, you can configure the monitoring levels by selecting the Configurations node > Server instance node >Monitoring Page and choose the value for the services whose monitoring level is changing. By default, monitoring is turned off for all components and services.

For detailed steps on how to configure the monitoring levels, consult the Admin Console online help.

From the command line, use asadmin set to turn ON monitoring for various Application Server components. For example, run the following command to turn on monitoring for the HTTP service:

asadmin> set --user admin-user server.monitoring-service.module-monitoring-levels.http-service=HIGH

Use the get command to find out what services and components currently have monitoring enabled.

asadmin> get --user admin-user server.monitoring-service.module-monitoring-levels.*


connector-connection-pool = OFF
connector-service = OFF
server.monitoring-service.module-monitoring-levels.ejb-container = OFF
server.monitoring-service.module-monitoring-levels.http-service = HIGH
server.monitoring-service.module-monitoring-levels.jdbc-connection-pool = OFF
server.monitoring-service.module-monitoring-levels.jms-service = OFF
server.monitoring-service.module-monitoring-levels.jvm = OFF
server.monitoring-service.module-monitoring-levels.orb = OFF
server.monitoring-service.module-monitoring-levels.thread-pool = OFF
server.monitoring-service.module-monitoring-levels.transaction-service = OFF
server.monitoring-service.module-monitoring-levels.web-container = OFF

Use the set command to turn OFF monitoring.

For example, run the following command to disable monitoring for the HTTP service:

asadmin> set --user admin-user 

Similarly, to disable monitoring for other components, use the set command and specify OFF for the monitoring level.