100 Alphabetical list of commands
set email-parameters
Description
Sets SMTP notification parameters for events and managed logs.
Min. role
manage
Syntax
set email-parameters
domain
domain
email-list
email-addresses
[include-logs enabled|disabled|on|off]
notification-level crit|error|warn|info|none
sender
sender
server
server
Parameters
domain
domain
The domain name that is joined with an
@
symbol to the sender name to form the “from” address for
remote notification. The domain name can have a maximum of 255 bytes. Because this name is used
as part of an email address, do not include spaces. For example:
MyDomain.com
. If the domain
name is not valid, some email servers will not process the mail.
email-list
email-addresses
Enter up to four comma-separated email addresses for recipients of event notifications. Each email
address can have a maximum of 320 bytes. The first three email addresses are used as destinations
for events. If the managed logs feature is enabled, you can set the fourth email-address to the
address of the log collection system. For example:
IT-team@MyDomain.com,,,LogCollector@MyDomain.com
include-logs enabled|disabled|on|off
Optional. When the managed logs feature is enabled, this option activates the “push” mode,
automatically attaching system log files to managed-logs email notifications that are sent to the log
collection system. This option is disabled by default.
notification-level crit|error|warn|info|none
The minimum severity for which the system should send notifications:
•
crit
: Sends notifications for Critical events only.
•
error
: Sends notifications for Error and Critical events.
•
warn
: Sends notifications for Warning, Error, and Critical events.
•
info
: Sends notifications for all events.
•
none
: Disables email notification. If this option is specified, no other parameters are required
and their current values are not changed.
sender
sender
The sender name that is joined with an
@
symbol to the domain name to form the “from” address for
remote notification. This name provides a way to identify the system that is sending the notification.
The sender name can have a maximum of 64 bytes. The value cannot include a space or: " , < > \
For example:
Storage-1
.
server
server
The IP address of the SMTP mail server to use for the email messages.
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
See also •
•
(with the
parameter)
Summary of Contents for AssuredSAN 6004
Page 11: ...Document conventions and symbols 11 TIP Provides helpful hints and shortcuts...
Page 114: ...114 Alphabetical list of commands See also set cli parameters show protocols...
Page 139: ...show controller statistics 139 See also reset all statistics reset controller statistics...
Page 162: ...162 Alphabetical list of commands See also show power supplies...