This command can be used to set the monitoring level of a module.
Synopsis
asadmin [asadmin-options] set-monitoring-level
[--help]
[--target target]
[--module module]
[--level={HIGH|LOW|OFF}]
Description
This command can be used to set the monitoring level (HIGH/LOW) of a module. Monitoring can also be disabled by setting the level to OFF.
Options
- asadmin-options
-
Options for the
asadminutility. For information about these options, see theasadminhelp page. --help-?-
Displays the help text for the subcommand.
--target-
This option helps specify the target on which you are configuring the monitoring level of a server module. Valid values are:
server-
Applies to the default server instance. This is the default value.
- cluster_name
-
Applies to every server instance in the cluster.
- instance_name
-
Applies to a specified server instance.
--module-
The name of the module. Mandatory value.
Multiple module names can be set in a comma separated string. --level-
Allows you to change monitoring level for a module to
OFF,LOWorHIGH.
Examples
Example 1 Configure the monitoring level of the JVM module to HIGH
asadmin set-monitoring-level --module=jvm --level=HIGH --target=server
Example 2 Configure the monitoring level of both the JVM and HTTP Service modules to LOW
asadmin set-monitoring-level --module=jvm,http-service --level=LOW --target=server