get-jmx-monitoring-configuration

Retrieves the JMX monitoring service general settings.

Synopsis

asadmin [asadmin-options] get-jmx-monitoring-configuration
[--help]
[--target target]
[--pretty={false|true}]

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 JMX 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.

pretty

Default to false. Whether to displays boolean configuration values options as a tick or a cross

Examples

Example 1 Get current JMX monitoring service configuration

asadmin get-jmx-monitoring-configuration
JMX Monitoring Enabled  JMX Log Frequency  JMX Log Frequency Unit
true                    5                  MINUTES

Name                  Notifier Enabled
slack-notifier        false
snmp-notifier         false
teams-notifier        false
datadog-notifier      false
jms-notifier          false
newrelic-notifier     false
log-notifier          true
cdieventbus-notifier  false
eventbus-notifier     false
xmpp-notifier         false
email-notifier        false
discord-notifier      false

Object Name            Attribute             Description
java.lang:type=Memory  HeapMemoryUsage.used

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also