system health policy definition show - Display system health policy definitions
This command specifies whether the alerts generated by this health policy trigger AutoSupport messages.
[-monitor <hm_type>] - Monitor
Specifies the monitor name for which you want to be enable or disable the policy.
[-policy-id <text>] - Policy
Specifies the policy identifier that you want to enable or disable.
[-enable {true|false}] - Policy Status
Sets the value to enable or disable the policy.
[-asup-enable {true|false}] - Enable AutoSupport for this alert
Sets the value to enable or disable an AutoSupport message for this alert.
system health policy definition show [ -fields ] [ -instance ] [ -monitor ] [ -policy-id ] [ -rule-expression ] [ -where ] [ -enable ] [ -alert-id ] [ -alert-count ] [ -prev-alert-creation-time ] [ -responsible-resource-info ] [ -asup-enable ]
This command displays the health policies that trigger an AutoSupport message for an alert (true) or the health policies that do not trigger an AutoSupport message for an alert (false).
[-fields <fieldname>, ...]
Displays the fields you specify.
[-instance]
Displays additional information on each policy definition.
[-monitor <hm_type>] - Monitor
Displays all policy definitions with the specified monitor name.
[-policy-id <text>] - Policy
Displays all policy definitions with the specified policy identifier.
[-rule-expression <ArithExpr>] - Rule Expression
Displays all policy definitions with the specified rule of expression.
[-where <ArithExpr>] - Variable Equivalence
With this option, the command will display only rules that match the provided expression. This expression is part of the alert definition. It is shown for reference only and cannot be changed.
[-enable {true|false}] - Policy Status
Set the value to "true" to display all policy definitions that are enabled or set the value to "false" to display all policy definitions that are disabled.
[-alert-id <text>] - Alert ID
Displays all policy definitions of the specified alert identifier.
[-alert-count <integer>] - Number of Alerts
Displays all policy definitions that caused alerts with the specified alert count.
[-prev-alert-creation-time <MM/DD/YYYY HH:MM:SS>] Previous Alert Creation Time
Displays all policy definitions that caused the last alert at the specified alert time.
[-responsible-resource-info <text>] - Table and ID of Resource at Fault
Displays all policy definitions with the specified responsible resource.
[-asup-enable {true|false}] - Enable AutoSupport for this alert
Set the value to true or false to enable or disable an AutoSupport message for this alert.
This example modifies policy state: node> system health policy definition show -policy-id ControllerToShelfIomA_Policy -enable false -monitor * This example displays information about all the policy definitions present in the cluster: node> system health policy definition show Node Monitor Policy ------------- ---------------------- ---------------------- csiptc-2240-23 node-connect ControllerToShelfIomA_Policy Policy Rule Expression: nschm_shelf_info.num-paths == 2 && nschm_shelf_info.iomb-adapter == NULL Where: - Enable: true Alert ID: ControllerToShelfIomA_Alert Number of Alerts: - Previous Alert Time: - Responsible Resource: nschm_shelf_info.name ASUP Enabled: true This example displays detailed information about all the policy definitions present in the cluster: node> system health policy definition show -instance Node: csiptc-2240-23 Monitor: node-connect Policy: ControllerToShelfIomA_Policy Rule Expression: nschm_shelf_info.num-paths == 2 && nschm_shelf_info.iomb-adapter == NULL Variable Equivalence: - Policy Status: true Alert ID: ControllerToShelfIomA_Alert Number of Alerts: - Previous Alert Creation Time: - Table and ID of Resource at Fault: nschm_shelf_info.name Enable ASUP for this alert: true