restart-monitoring

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]
shell

Description

This command can be used to restart the monitoring levels of all modules per the specified target.

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 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=server
shell

This will generate an output similar to the following:

Restarted 3 modules
log

Example 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 --verbose
shell

This will generate an output similar to the following:

Module                       Monitoring Level
cloud                        HIGH
cloud-elasticity             LOW
cloud-orchestrator           HIGH
log

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also