Monitoring Service Asadmin Command Reference
The following is a detailed list of the administration commands that can be used to correctly configure the Monitoring Service.
Since Payara Server 5.183
set-monitoring-service-configuration
- Usage
-
asadmin> set-monitoring-service-configuration --enabled=true|false --mbeansenabled=true|false --amxenabled=true|false
- Aim
-
This command can be used to set all configuration of the Monitoring Service at once.
Command Options
Option | Type | Description | Default | Mandatory |
---|---|---|---|---|
|
Boolean |
Whether to enable or disable the service. |
N/A |
no |
|
Boolean |
Whether to enable or disable Mbean monitoring. |
N/A |
no |
|
Boolean |
Whether to enable or disable AMX on boot. |
N/A |
no |
|
String |
The name of the configuration to set the monitoring service configuration on. |
server |
no |
get-monitoring-service-configuration
- Usage
-
asadmin> get-monitoring-service-configuration
- Aim
-
This command can be used to list the configuration settings of the Monitoring Service.
set-monitoring-level
- Usage
-
asadmin> set-monitoring-level
- Aim
-
This command can be used set monitoring level of a module.
Command Options
Option | Type | Description | Default | Mandatory |
---|---|---|---|---|
|
String |
The name of the module. |
N/A |
yes |
|
String |
Allows you to change monitoring level for a module to OFF, LOW or HIGH. |
N/A |
yes |
|
String |
The name of the configuration to get the monitoring service configuration from. |
server |
no |
get-monitoring-level
- Usage
-
asadmin> get-monitoring-level
- Aim
-
This command can be used get monitoring level of a module.
Command Options
Option | Type | Description | Default | Mandatory |
---|---|---|---|---|
|
String |
The name of the module. |
N/A |
no |
|
String |
The name of the configuration to get the monitoring service configuration from. |
server |
no |
Example
asadmin > get-monitoring-level
--module=jvm
--target=server
You can also get monitoring level for all available modules using example below:
asadmin > get-monitoring-level
--target=server
Will give an output similar to the following:
Module Monitoring Level
cloud OFF
cloud-elasticity OFF
cloud-orchestrator OFF
cloud-tenant-manager OFF
cloud-virt-assembly-service OFF
connector-connection-pool OFF
connector-service OFF
deployment OFF
ejb-container OFF
http-service LOW
jdbc-connection-pool OFF
jersey OFF
jms-service OFF
jpa OFF
jvm HIGH
orb OFF
security OFF
thread-pool OFF
transaction-service OFF
web-container OFF
web-services-container OFF