This command can be used to set restart/reset the monitoring levels of the server
Synopsis
asadmin [asadmin-options] restart-monitoring
[--help]
[--verbose={false|true}]
[--target target]Description
This command can be used to restart the monitoring levels of all modules per the specified target.
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. 
 
- --verbose
- 
Enable verbose output. 
Examples
Example 1 Restart monitoring in the DAS
asadmin restart-monitoring --target=serverThis will generate an output similar to the following:
Restarted 3 modulesExample 2 Restart monitoring in the DAS using verbose mode
You can use the verbose mode to see which modules were affected and what monitoring level they are currently set to:
asadmin restart-monitoring --target=server --verboseThis will generate an output similar to the following:
Module                       Monitoring Level
cloud                        HIGH
cloud-elasticity             LOW
cloud-orchestrator           HIGH