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

Command Reference

OceanStor 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. 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. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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 email addresses or phone numbers used to receive alarm or event notifications.

Format

add notification receiver [ alarm_level=? ] { email_receiver_list=? | message_receiver_list=? | event_email_receiver_list=? | event_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".

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. A maximum of 64 phone numbers can be configured to receive alarms of the same severity.

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. A maximum of 64 email addresses can be configured to receive alarms of the same severity.

event_email_receiver_list

Email address list for receiving the event IDs with email notification enabled.

Multiple email addresses can be specified. Separate the email addresses by commas (,). Each email address must be 5 to 255 characters in length. A maximum of 64 email addresses can be configured to receive event notification emails.

event_message_receiver_list=?

Phone number list for receiving the event IDs with short message notification enabled.

Multiple phone numbers can be specified. Separate the phone numbers by commas (,). Each phone number must be 3 to 31 characters in length. A maximum of 64 phone numbers can be configured to receive event notification short messages.

Level

Administrator

Usage Guidelines

  • Before you execute this command to add a phone number to receive alarm or event short messages, ensure that the SMS center number has been configured.
  • Before you execute this command to add an email address to receive alarm or event emails, 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.
  • A maximum of 64 email addresses can be configured for events.
  • A maximum of 64 phone numbers can be configured for events.

Example

  • Add "joe@company.com" to the email based alarm notification receiver list and send alarms with the severity of Warning to this email.
    admin:/>add notification receiver alarm_level=warning email_receiver_list=joe@company.com 
    Command executed successfully.
  • Add "13812345678" to SMS based alarm notification receiver list and send alarms with severity of Warning to this phone number.
    admin:/>add notification receiver alarm_level=warning message_receiver_list=13812345678 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138382

Views: 311828

Downloads: 38

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