HP P2000 G3 MSA System CLI Reference Guide 149
Example
Set the system to send an email from
RAIDsystem@mydomain.com
to both
sysadmin@mydomain.com
and
JSmith@domain2.com
when a non-Informational event occurs,
and to send an email with attached logs to
logcollector@mydomain.com
when logs need to
be transferred:
# set email-parameters server 10.1.1.10 sender RAIDsystem domain mydomain.com
notification-level warn include-logs enabled email-list
sysadmin@mydomain.com,JSmith@domain2.com,,logcollector@mydomain.com
Info: Set Email Address 1 to: sysadmin@mydomain.com (sysadmin@mydomain.com)
Info: Set Email Address 2 to: JSmith@domain2.com (sysadmin@mydomain.com)
Info: Set Email Address 3 to:
Info: Set Email Address 4 to: logcollector@mydomain.com
(logcollector@mydomain.com)
Info: Set Email Server Name to: 10.1.1.10 (10.1.1.10)
Info: Set Email Domain Name to: mydomain.com (mydomain.com)
Info: Set Email Notification Level to: warn (mydomain.com)
Info: Set Email Sender Name to: RAIDsystem (RAIDsystem)
Info: Set Email Include Logs: enabled (enabled)
Success: Command completed successfully. (2012-01-21 15:07:46)
See also
•
show email-parameters
•
test
Summary of Contents for P2000 G3
Page 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Page 14: ...14 About this guide ...
Page 30: ...30 Categorical list of commands ...
Page 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Page 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Page 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Page 524: ...524 Glossary ...
Page 532: ...532 Index ...