5 Configuring cluster event notification
Setting up email notification of cluster events
You can set up event notifications by event type or for one or more specific events. To set up
automatic email notification of cluster events, associate the events with email recipients and then
configure email settings to initiate the notification process.
Associating events and email addresses
You can associate any combination of cluster events with email addresses: all Alert, Warning, or
Info events, all events of one type plus a subset of another type, or a subset of all types.
The notification threshold for Alert events is 90% of capacity. Threshold-triggered notifications are
sent when a monitored system resource exceeds the threshold and are reset when the resource
utilization dips 10% below the threshold. For example, a notification is sent the first time usage
reaches 90% or more. The next notice is sent only if the usage declines to 80% or less (event is
reset), and subsequently rises again to 90% or above.
To associate all types of events with recipients, omit the
-e
argument in the following command.
Use the
ALERT
,
WARN
, and
INFO
keywords to make specific type associations or use
EVENTLIST
to associate specific events.
<installdirectory>/bin/ibrix_event -c [-e ALERT|WARN|INFO|EVENTLIST] -m EMAILLIST
The following command associates all types of events to [email protected]:
<installdirectory>/bin/ibrix_event -c -m [email protected]
The next command associates all Alert events and two Info events to [email protected]:
<installdirectory>/bin/ibrix_event -c -e ALERT,server.registered,filesystem.space.full
-m [email protected]
Configuring email notification settings
Configuring email notification settings involves specifying the SMTP server and header information
and turning the notification process on or off. The state of the email notification process has no
effect on the display of cluster events in the management console GUI.
The server must be able to receive and send email and must recognize the From and Reply-to
addresses. Be sure to specify valid email addresses, especially for the SMTP server. If an address
is not valid, the SMTP server will reject the email.
<installdirectory>/bin/ibrix_event -m on|off -s SMTP -f from [-r reply-to] [-t subject]
The following command configures email settings to use the mail.hp.com SMTP server and to turn
on notifications:
<installdirectory>/bin/ibrix_event -m on -s mail.hp.com -f [email protected]
-r [email protected] -t Cluster1 Notification
Turning email notifications on or off
After configuration is complete, use the
-m on
option to turn on email notifications. To turn off
email notifications, use the
-m off
option.
<installdirectory>/bin/ibrix_event -m on|off -s SMTP -f from
Dissociating events and email addresses
To remove the association between events and email addresses, use the following command:
<installdirectory>/bin/ibrix_event -d [-e ALERT|WARN|INFO|EVENTLIST] -m EMAILLIST
For example, to dissociate event notifications for [email protected]:
<installdirectory>/bin/ibrix_event -d -m [email protected]
Setting up email notification of cluster events
35