Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (1228 KB)
Configuring MonitoringBy default, monitoring is not enabled for Enterprise Server components and services. When you set the monitoring level, you are enabling monitoring for that monitorable object. You can choose to leave monitoring off for objects that do not need to be monitored. The following tasks are addressed here:
|
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:
configs.config.server-config.monitoring-service.module-monitoring-levels.web-container=HIGH
configs.config.server-config.monitoring-service.module-monitoring-levels.http-service=OFF
configs.config.server-config.monitoring-service.module-monitoring-levels.jvm=HIGH
|
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 |
To see the full syntax and options of the command, type asadmin set --help at the command line.
The set(1) command enables you to disable monitoring for Enterprise Server services and components.
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
|
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 |
To see the full syntax and options of the command, type asadmin set --help at the command line.