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:
ibrix_event -c [-e ALERT|WARN|INFO|EVENTLIST] -m EMAILLIST
Use the
ALERT
,
WARN
, and
INFO
keywords to make specific type associations or use
EVENTLIST
to associate specific events.
The following command associates all types of events to [email protected]:
ibrix_event -c -m [email protected]
The next command associates all Alert events and two Info events to [email protected]:
ibrix_event -c -e ALERT,server.registered,filesystem.space.full
-m [email protected]
Configuring email notification settings
To configure email notification settings, specify the SMTP server and header information and turn
the notification process on or off.
ibrix_event -m on|off -s SMTP -f from [-r reply-to] [-t subject]
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.
The following command configures email settings to use the mail.hp.com SMTP server and turns
on notifications:
ibrix_event -m on -s mail.hp.com -f [email protected] -r [email protected] -t Cluster1 Notification
NOTE:
The state of the email notification process has no effect on the display of cluster events
in the GUI.
Dissociating events and email addresses
To remove the association between events and email addresses, use the following command:
ibrix_event -d [-e ALERT|WARN|INFO|EVENTLIST] -m EMAILLIST
For example, to dissociate event notifications for [email protected]:
ibrix_event -d -m [email protected]
To turn off all Alert notifications for [email protected]:
ibrix_event -d -e ALERT -m [email protected]
To turn off the
server.registered
and
filesystem.created
notifications for
[email protected] and [email protected]:
ibrix_event -d -e server.registered,filesystem.created -m [email protected],[email protected]
Testing email addresses
To test an email address with a test message, notifications must be turned on. If the address is
valid, the command signals success and sends an email containing the settings to the recipient. If
the address is not valid, the command returns an
address failed
exception.
ibrix_event -u -n EMAILADDRESS
Setting up email notification of cluster events
71