
12-7
Working with Event Notification
How to Set Mail Message Reporting
This section provides an example that describes how to set e-mail
notification message reporting for controller events.
To display e-mail message information for all mail message types
(and corresponding event types), use the mail show message
command with the /all switch, as in the following example. In the
example, the output of the mail show message command with the
/all switch indicates that e-mail message reporting is set only for the
DriveLetterChange mail message type.
HPN0> mail show message /all=TRUE
Executing: mail show message /all=TRUE
Message : DriverLetterChange
Subject : HP NetRAID-4M controller message
Body : A drive letter assignment change occurred on
container (%container%).%nl%Controller :
"%adapter%"%nl%Computer : %host%%nl%TIME : %time%%nl%DATE :
%date%%nl%%nl%
To set e-mail message reporting for one specific mail message type,
use the mail set message command, as in the following
example. In the example, the mail set message command with the
/file_system switch sets e-mail message reporting for the
FileSystemChange mail message type. The first string parameter
mail notification messages for FileSystemChange mail messages.
The second string parameter indicates that HP NetRAID-4M
controller message is to be the subject line for FileSystemChange
mail notification messages.
"HP NetRAID-4M controller message"
Executing: mail set message /file_systemr=TRUE
After executing the mail set message command, use the mail
show message command with the /all switch to verify that e-
mail message reporting for the FileSystemChange mail message
type has been set and to display information for all event types, as in
the following example. In the example, the output of the mail show
message command with the /all switch indicates that e-mail
Comentarios a estos manuales