HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96009, November 2009)

208 of 332
Email Set Filter Include
Command EMAIL SETFILTERINCLUDE
Description Specifies which Event Viewer messages are sent via e-mail
Syntax
EMAIL SETFILTERINCLUDE [INFO, WARNING, ERROR]
[EXCLUDEIDS "<ID1,ID2-ID4,...>"]
Options
INFO—Information messages will be sent via e-mail
WARNING—Warning messages will be sent via e-mail
ERROR—Error messages will be sent via e-mail
EXCLUDEIDS ID1,ID2-ID4,...—A comma separated list of IDs
or ID ranges. A space should separate the EXCLUDEIDS
switch from the list but within the list, there should be no
spaces. Ranges are specified with a begin and end number
and separated with a dash (-). The entire list should be
enclose in quotation marks.
Examples
email setfilterinclude warning, error
email setfilterinclude warning, error excludeids "4007, 4012,
4015"
email setfilterinclude excludeids "4000-4010, 5100"
Notes
The default settings for this command are info and warning.
No IDs are excluded, by default.
The options info, warning, and error can be used in any
combination and in any order. The first option does not
require a comma, but the second and remaining options do
require a comma before the option.
When changing the filter options, e-mail notification will
automatically be stopped and restarted. If a failure occurs
while stopping or restarting e-mail notification, Storage
Mirroring Recover will output a related error message
You must have an active source specified for any e-mail
command to work properly.