No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor BCManager 6.5.0 eBackup Command Reference 01

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change notification email

change notification email

Function

Modifies parameters of email notification.

Format

change notification email [status=?] [smtp_server=?] [smtp_server_port=?] [sender_email=?] [send_email_interval=?] [smtp_server_authentication=?] [recipient_email=?] [security_protocol=?] [username]

Parameters

Parameter

Description

Value

status=?

Whether to enable the email notification function.

status=Enable: sends alarm emails.

status=Disable: does not send alarm emails.

smtp_server=?

IP address of the SMTP server.

It is in dotted decimal notation.

smtp_server_port=?

Port number of the SMTP server.

The value is an integer ranging from 1 to 65535.

sender_email=?

Email address that sends alarm emails.

The address contains up to 256 characters.

send_email_interval=?

When an alarm notification email is sent by email, the corresponding level of alarm generated during the interval is sent to the specified recipient at every set interval.

The value is an integer ranging from 1 to 1440.

smtp_server_authentication=?

Whether SMTP authentication is required.

smtp_server_authentication=Yes: requires SMTP authentication.

smtp_server_authentication=No: does not require SMTP authentication.

recipient_email=?

Receive the email address of the corresponding level alarm email. The order of alarm levels is urgent, important, and warning. The alarm e-mails of different levels are separated by commas. Up to 10 different email addresses can be set in the same level, separated by semicolons.

Each email address can contain a maximum of 256 characters.

Format: critical alarm email address 1; critical alarm email address 2;..., major alarm email address 1; major alarm email address 1;..., warning alarm email address 1; warning alarm email address 2;...

For example, emergency1@huawei.com; emergency2@huawei.com, important1@huawei.com; important2@huawei.com, warning1@huawei.com; warning2@huawei.com.

If the email addresses is only for the severity of warning, the format is like this:

, , warning1@huawei.com; warning2@huawei.com

security_protocol=?

Security protocol.

security_protocol=Disable: disables the security protocol.

security_protocol=SSL: uses the SSL protocol.

security_protocol=TLS: uses the TLS protocol.

NOTE:

When the security protocol is disabled or SSL is used, security risks exist. If the SMTP server supports the TLS protocol, you are advised to enable TLS.

The user need to copy the CA certificate of the SMTP server to /opt/huawei-data-protection/ebackup/conf directory and rename the file SSLEmail_client.cer as user hcp after the security protocol is enabled with the purpose of verifying the SMTP server.

username

User name for accessing the SMTP server.

This parameter is valid only when smtp_server_authentication is Yes.

The user name cannot be blank and can contain a maximum of 64 characters.

Password

Password for accessing the SMTP server.

This parameter is valid only when smtp_server_authentication is Yes.

The password cannot be blank and can contain a maximum of 64 characters.

Views

setting

Level

Super administrator

Usage Guidelines

You can run change notification email to modify the alarm email addresses.

  • If you modify alarm email addresses for the first time, modify all parameters.
  • You can modify a specific setting. For example, run change notification email sender= to modify the sender email address.
  • You can modify multiple settings. For example, run change notification email sender_email=? sender_email=? to modify the email addresses of the sender and receivers.
  • When SMTP authentication is enabled, enter the user name and password. The password cannot be blank and can contain a maximum of 64 characters.

Example

  • Enable the TLS function in email notification.
    setting:/>change notification email security_protocol=TLS 
    Command executed successfully.
  • Modify the email addresses of the sender and receivers.
    setting:/>change notification email sender_email=lilei@huawei.com recipient_email=emergency1@huawei.com;emergency2@huawei.com,important1@huawei.com;important2@huawei.com,warning1@huawei.com;warning2@huawei.com 
    Command executed successfully.

System Response

None

Download
Updated: 2019-04-26

Document ID: EDOC1100079912

Views: 2513

Downloads: 1

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next