get-rest-monitoring-configuration

Retrieves the REST monitoring service general settings.

Synopsis

asadmin [asadmin-options] get-rest-monitoring-configuration
[--help]
[--target target]

Description

This command can be used to view the current configuration of the JMX monitoring service.

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 retrieving the REST monitoring service configuration. 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.

Examples

Example 1 Get current REST monitoring service configuration

asadmin get-rest-monitoring-configuration
Rest Monitoring Enabled  Rest Monitoring Application Name  Context Root      Security Enabled
false                    __restmonitoring                  /rest-monitoring  false

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also