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 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands."
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).
add notification receiver

add notification receiver

Function

The add notification receiver command is used to add a receiver for email or SMS based alarm notification. Use this command when you want to add a new email address or phone number for alarm notification.

Format

add notification receiver alarm_level=? { email_receiver_list=? | message_receiver_list=? }

Parameters

Parameter

Description

Value

alarm_level=? Indicates the alarm severity. Alarms with this severity will be sent.

The value can be "warning", "major", or "critical".

email_receiver_list=? Indicates list of emails that receive alarms notifications.

Multiple email addresses can be specified. Separate the email addresses by commas (,). Each email address must be 5 to 255 characters in length.

message_receiver_list=? Indicates the list of phone numbers that receive alarm notifications.

Multiple phone numbers can be specified. Separate the phone numbers by commas(,). Each phone number must be 3 to 31 characters in length.

Level

Administrator

Usage Guidelines

  • Before you execute this command to add a phone number, ensure that the SMS center number has been configured.
  • Before you execute this command to add an email, ensure that the SMTP server has been configured.
  • A maximum of 64 email addresses can be configured for alarms of the same severity.
  • A maximum of 64 phone numbers can be configured for alarms of the same severity.

Example

  • To add "joe@company.com" to the email based alarm notification receiver list and send alarms with the severity of Warning or higher to this email, run the following command:

    admin:/>add notification receiver alarm_level=warning email_receiver_list=joe@company.com
    Command executed successfully.
  • To add "13812345678" to SMS based alarm notification receiver list and send alarms with severity of Warning or higher to this phone number, run the following command:

    admin:/>add notification receiver alarm_level=warning message_receiver_list=13812345678
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 261855

Downloads: 178

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