Enabling Email Notification
After you enable the email notification function, alarms of the specified severity and events are sent to a preset email box.
Prerequisites
- The connections between each Simple Mail Transfer Protocol (SMTP) server and all primary and secondary controllers are working properly.
- The email notification function is available only when the SMTP server is running properly. Otherwise, the specified email address cannot receive alarm and event emails.
- The alarm and event email notification function supports PLAIN and LOGIN authentication mechanisms. Therefore, when you configure the email server, ensure that at least one of the two authentication mechanisms is supported.
- You have logged in to DeviceManager as an administrator that has the permission of one of the following:
- Super administrator
- Administrator
- The storage system sends only the alarms and events generated after email notification is enabled to the SMTP server.
- Before configuring a domain name for the server, ensure that the DNS server properly communicates with the storage system or third-party server.
Precautions
- To ensure that email notifications can be sent properly, the sender email address must match the SMTP server address and can send emails to the recipient email address.
For example, if a Gmail SMTP server is used, the sender email address must be a Gmail address.
- When two SMTP servers are configured, the sender email address must match the two SMTP server addresses and can send emails to the recipient email address.
For example, if the sender email address is a Gmail address, the two SMTP server addresses must be SMTP server addresses provided by the Gmail supplier.
Procedure
- Log in to DeviceManager.
- Choose Settings > Alarm Settings > Email Notification.
- Set the email address for receiving alarms and events.
- Select Enable.
- Set email notification parameters. Table 5-13 describes the related parameters.
Table 5-13 Email notification parameters
Parameter
Description
Value
Sender Email
Indicates the email address of the sender.
NOTE:The sender email address must match the SMTP server address.
For example, if a Gmail SMTP server is used, the sender email address must be a Gmail address.
[Example]
example@gmail.com
SMTP Server
Indicates the IP address or domain name of the SMTP server. This is an SMTP-compliant email-sending server. The emails containing alarm information can be sent to the recipient email box through the SMTP server.
NOTE:A maximum of two SMTP servers can be added. If one of the SMTP servers cannot send notification emails, the other SMTP server will be used to send notification emails again.
[Note]
Set this parameter based on the standard configuration of the SMTP server.
[Example]
192.168.1.100
SMTP Port
Indicates an SMTP port ID. The default value is 25.
NOTE:The SMTP port ID configured on a storage system must be consistent with that configured on the SMTP server.
Description
The value ranges from 1 to 65535.
[Example]
3
Encryption mode
Indicates whether to encrypt the communication between the system and the email server.
- Not encrypted: Data is not encrypted during transmission.
NOTE:Security risks may arise if encryption is not enabled.
- SSL/TLS: SSL and TLS are used to ensure network communication security and data integrity. After this mode is enabled, the system will automatically select an encryption mode according to your email server.
- STARTTLS: TLS encryption is implemented after the STARTTLS command is executed. The data transferred before the command execution is not encrypted.
NOTE:The encryption mode configured on a storage system must be consistent with that configured on the SMTP server.
[Example]
STARTTLS
SMTP Server Authentication
Specifies whether the SMTP server verifies the identification of the email sender. If SMTP server ID authentication is not selected, Username and Password are unavailable.
[Example]
Specify this parameter only if the SMTP server requires ID authentication.
Username
Indicates a sender's SMTP user name. When the sender sends emails through the SMTP server, the sender is required by the SMTP server to enter the SMTP user name and password for authentication.
[Note]
The value cannot be empty and must contain 1 to 63 characters excluding single quotation marks (').
[Example]
testuser
Password
Indicates a sender's SMTP user password. When the sender sends emails through the SMTP server, the sender is required by the SMTP server to enter the SMTP user name and password for authentication.
[Note]
- The value cannot be empty and must contain 1 to 63 characters.
- The password cannot contain extended ASCII or Unicode characters. Otherwise, the password cannot be used normally. It is recommended that the password contain characters from the following categories:
- Digits (0-9)
- Uppercase characters (A-Z)
- Lowercase characters (a-z)
- Space
- Special characters such as [\]^_{|}~`@!"#$%&'()*+-./:;<=>?
[Example]
aJ1p23dySQ
Email Title Prefix
Indicates the email title defined by the sender. If there are too many emails, users can search for desired emails using the email title.
[Note]
The length ranges from 0 to 511 bytes and cannot contain single quotation marks (').
[Example]
-
Add alarm severities
If this function is enabled, the alarm severity is included in the title of an alarm notification email. Possible values are Critical, Major, and Warning.
[Example]
Add alarm severities
- Add a recipient email address.
- Click Add.
The Add Recipient Information dialog box is displayed.
- Specify Recipient Email and Notification Type.
- Notification Type can be set to Alarm or Event.
- When Notification Type is set to Alarm, you also need to set Alarm Severity. The alarm severity can be Critical, Major, and Warning.
- After event notification is enabled, you can enable or disable event notification by following instructions in Managing Event Notification Modes in the Administrator Guide specific to your product model and version.
- Click OK.
- Click Add.
- (Optional) Click Test to verify the connectivity between the storage system and the SMTP server.
- Click Save.
The Execution Result dialog box is displayed.
- Click Close.