Sun Microsystems 820433510 Server User Manual


 
Conguring Monitoring Levels Using the Admin
Console
To congure monitoring in the Admin Console:
For the developer prole, go to Conguration Monitoring
For the cluster and enterprise proles, go to Congurations Conguration
Monitoring
By default, monitoring is turned o for all components and services. To turn monitoring on,
select LOW or HIGH from the combo box. To turn monitoring o, select OFF from the combo
box.
For details on conguring monitoring, see the online help available with the Admin Console.
To Congure Monitoring Levels Using asadmin
Use theget command to ndout what services and components currently have monitoring
enabled.
asadmin> get --user admin-user server.monitoring-service.module-monitoring-levels.*
Returns:
server.monitoring-service.module-monitoring-levels.
connector-connection-pool = OFF
server.monitoring-service.module-monitoring-levels.
connector-service = OFF
server.monitoring-service.module-monitoring-levels.ejb-container = OFF
server.monitoring-service.module-monitoring-levels.http-service = OFF
server.monitoring-service.module-monitoring-levels.sip-service = OFF
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 theset command to enablemonitoring.
For example, to enable monitoring for the HTTP service:
asadmin> set --user admin-user
server.monitoring-service.module-monitoring-levels.http-service=LOW
To disable monitoring, use the set command and specify OFF for the monitoring level.
1
2
Enablingand DisablingMonitoring
SunGlassFishEnterpriseServer2.1AdministrationGuide • December2008192