Set-Monitoring-Service-Configuration
Configures the monitoring service.
Synopsis
asadmin [asadmin-options] set-monitoring-service-configuration
[--help]
[--target target]
[--enabled={false|true}]
[--mbeansenabled={false|true}]
[--dtraceenabled={false|true}]
Options
asadmin-options:
Options for the asadmin utility. For information about these options, see the asadmin help page.
--help:
-?:
Displays the help text for the subcommand.
--target:
This option helps specify the target on which you are configuring the monitoring service. 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.
--enabled:
Defaults to false. Enables or disables the monitoring service
--mbeansenabled:
Defaults to false. Whether to enable or disable MBean monitoring.
--dtraceenabled:
Defaults to false. Whether to enable or disable the DTrace monitoring.
Examples
Example 1 Basic configuration of the monitoring service
asadmin set-monitoring-service-configuration --enabled=true --mbeansenabled=true --target=server