4 alert reactions – HP Insight Cluster Management Utility User Manual

Page 99

Advertising
background image

Operator

The comparison operator between the sensor and the threshold. Only > is available.

Unit

The unit of the sensor. The GUI uses this measurement.

Command

The command to be executed by the script. This can be an executable or a shell command.
The executable and the shell command must be available on compute nodes.

6.5.4 Alert reactions

Each alert reaction contains the following fields:

Name(s)

The names of one or more alerts from the ALERTS section. The reaction is associated with each
of the alerts. If an alert is specified in more than one reaction, then only the first reaction is
taken. The list of alert Names is white-space separated.

Description

A quote-contained brief description of the reaction.

Condition

The reaction is performed under this condition.

ReactOnRaise — Execute the reaction whenever the alert shows as raised and the previous
state of the alert was lowered.

ReactAlways — Execute the reaction whenever the alert shows as raised, subject to the
alert’s time multiple. For example, if the monitoring has a default timer of 5 seconds and
the alert’s time multiple is 6, the reaction will trigger every 5x6=30 seconds as long as
the alert is raised.

Command

The command to be executed. This can be a single-line shell command, a shell script, or an
executable file. Scripts and executable files must be available on the management node.

The following keywords are supported within the “Command”. Each keyword is substituted
globally (throughout the command line) using the defined values:

CMU_ALERT_NAME

The name of the alert that caused the reaction.

CMU_ALERT_LEVEL

The level of the alert.

CMU_REACT_MESSAGE

The text of the “Description” for this reaction.

CMU_ALERT_NODES

The list of names of all the nodes that raised the alert during the current monitoring pass.
The list is condensed in the form provided by cmu_condense_nodes.

CMU_ALERT_NODES_EXPANDED

The same as CMU_ALERT_NODES only the list is expanded, ordered, and separated by
commas.

CMU_ALERT_VALUES

The list of alert values. This list is comma separated and ordered like the names of
CMU_ALERT_NODES_EXPANDED

.

CMU_ALERT_TIMES

The time the alert was triggered on each node. This list is comma separated and ordered
like the names of CMU_ALERT_NODES_EXPANDED.

6.5 Customizing HP Insight CMU monitoring, alerting, and reactions

99

Advertising