Skip to main content
A newer release of this product is available.

system health policy definition modify

Contributors
Suggest changes

Modify system health policy definition

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The system health policy definition modify enables or disables health monitoring policies based on input parameters the user provides.

Parameters

-node {<nodename>|local} - Node

Use this parameter to specify the node on which you want to enable or disable the policy.

-monitor <hm_type> - Monitor

Use this parameter to specify the monitor name for which you want to be enable or disable the policy.

-policy-id <text> - Policy

Use this parameter to specify the policy identifier that you want to enable or disable.

[-enable {true|false}] - Policy Status

Use this parameter with the value "true" to enable the policy. Set the value to "false" to disable the policy.

[-asup-enable {true|false}] - Enable AutoSupport for This Alert

Use this parameter to enable or disable an AutoSupport message for this alert.

Examples

This example modifies policy state on the cluster:

cluster1::> system health policy definition modify -node node1
    -policy-id ControllerToShelfIomA_Policy -enable false -monitor *