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 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these 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).
change notification sms

change notification sms

Function

The change notification sms command is used to set the SMS-based notification function. Use this command when you want to configure that the storage system can automatically send alarm notifications to a specified phone number.

Format

change notification sms enabled=? sms_center=? receiver_message_list=? [ function_test=? ]

Parameters

Parameter

Description

Value

enabled=? Indicates whether to enable the SMS-based alarm notification function.

The value can be "yes" or "no", where

  • "yes": To enable the email-based alarm notification function.
  • "no": Not to enable the email-based alarm notification function.
The default value is "no".
sms_center=? Indicates the SMS center number.

The value must start with a plus sign (+) followed by a country code and a number. The country code and number must be 2 to 30 digits in length.

receiver_message_list=? Indicates the phone number that receives alarm notifications.

Multiple phone numbers can be specified. Separate phone numbers for alarms of different severities with commas (,) and put the phone numbers in the order of critical, major, and warning. Separate the phone numbers for alarms of the same severity with colons (;). Each phone number is 3 to 31 characters in length.

function_test=? Indicates whether to send a test short message after the command is executed.

The value can be "yes" or "no", where

  • "yes": To send the test short message.
  • "no": Not to send the test short message.

Level

Administrator

Usage Guidelines

  • A storage device requires an SMS modem to send short messages. Before running this command, ensure that a modem has been correctly installed and configured.
  • A maximum of 64 phone numbers can be configured for alarms of the same severity.
  • After alarm notification by short message is configured, the system sends alarms to specified phone numbers by short message. The short message format is as follows:

    China;ClientName;Huawei.Storage;XXXXXXXXXXXXXXXXXXXX;0x1FFFFFFFFFFFFFFB;Infor;2015-06-23 15:03:36;This Is A Test Message.

  • Each part of the short message content is separated using semicolons (;) and defined as follows:
    • Geographical location, which can be manually configured, for example, China.
    • Client of the storage system, for example, ClientName.
    • Device name, for example, Huawei.Storage.
    • Device SN, for example, XXXXXXXXXXXXXXXXXXXX.
    • Alarm ID, which indicates a certain type of alarm, expressed in the hexadecimal format, for example, 0x1FFFFFFFFFFFFFFB.
    • Alarm severity. Alarm severities include info, warning, major, and critical.
    • Time when an alarm occurs, for example, 2015-06-23 15:03:36.
    • Alarm name, for example, "This Is A Test Message.".

Example

To enable the SMS-based alarm notification function and set the country code of the phone number that receives alarm notifications to 86, the SMS center number to 13800280500, and the number that receives alarm notifications to 13912345678, run the following command:

admin:/>change notification sms enabled=yes sms_center=+8613800280500 receiver_message_list=13912345678 
Change configuration successfully.

System Response

None

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 365811

Downloads: 1594

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