HP StorageWorks Storage Mirroring for Linux Scripting Guide (T2558-96319, June 2009)

14 - 10
Email Test
Environment
Command EMAIL TEST
Description Sends a test message to demonstrate e-mail notification
Syntax
EMAIL TEST [SENDTO <email_address[,email_address,...]>]
[TEXT <
message_text>]
Options
email_address—Specifies the e-mail address(es) to send the test
message to if you do not want to use the e-mail addresses configured with
the EMAIL ADD command. This is a comma separated list of addresses.
The entire list should be enclosed in quotation marks. A space should
separate the SENDTO switch from the list of addresses but within the list,
there should be no spaces.
message_text—Text to be displayed in the body of the test e-mail
message. The test message is limited to 1024 characters and must be
enclosed in quotation marks.
Examples
email test sendto "admin@domain.com,
suppport@domain.com"
email test sendto "admin@domain.com" text "This is a
test message."
Notes
The default setting for this command are to use the addresses configured
with the email add command. and to appends the word Test to the prefix
defined in the email subject prefix command.
You must have an active source specified for any e-mail command to
work properly.
Command ENVIRONMENT
Description Displays a list of all Storage Mirroring machines available to the specified
machine. Each machine is identified by machine name, IP addresses and
whether or not the source and/or target modules are loaded. If no machine
is specified, the information is provided for the machine currently specified
as the source.
Syntax
ENVIRONMENT [machine]
Options machine—Name of the machine to poll for environment information
Examples
environment alpha