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


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


Advanced O&M Command Reference

OceanStor 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. 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).
add root_cause_alarm rule

add root_cause_alarm rule


The add root_cause_alarm rule command is used to add a root cause alarm rule.


add root_cause_alarm rule child_id=? fathers_id=? delay_time=? recover_time=? relation_parameter=?





child_id=? ID of a suppressed alarm.
This alarm is caused by another alarm. The alarm is configured as a child alarm in the root cause alarm list.

The value must be an integer from 0x1 to 0xFFFFFFFFFFFFFFFF.

fathers_id=? ID of an alarm used to suppress other alarms.
This alarm causes other alarms. The alarm is configured as a parent alarm in the root cause alarm list.

The value is in the format of alarm ID1,alarm ID2. A maximum of five alarm IDs are supported. Each alarm ID ranges from 0x1 to 0xFFFFFFFFFFFFFFFF.

delay_time=? Timeout period that a child alarm can wait for a system to receive its parent alarm. After a child alarm is received by the system, its parent alarm has not been received within this timeout period. In this case, the child alarm will be reported. The unit is second.

The value can be "60", "120", "180", "240", "300", "360", "420", "900", or "1800".

recover_time=? Timeout period that a child alarm can wait for a system to receive its recovery alarm. If a child alarm is suppressed and all its parent alarms are recovered but the recovery alarm of this child alarm is not received by the system within this timeout period, the child alarm will be reported. The unit is second.

The value can be "60", "120", "180", "240", "300", "360", "420", "900", or "1800".

relation_parameter=? Constraint between a parent alarm and child alarm, namely, the mapping relationship between the parent and child alarm parameters. The suppression relationship of constants is supported.

The value is in the format of (parent alarm 1 parameter ID1=child alarm parameter ID1,parent alarm 1 parameter ID2=child alarm parameterID2)(constant 1=child alarm parameter ID1,parent alarm 2 parameter ID2=constant 2). The value of the suppression relationship parameter contains a maximum of 255 characters (including parentheses and equal signs). A constant starts with $ and can contain letters, underscores (_), hyphens (-), and spaces (represented by \s). The constant is case-sensitive. The relationship of (constant=constant) cannot be configured. Each child alarm and parent alarm have a maximum of ten parameters.


Developer view

Usage Guidelines



Add a root cause alarm rule.

developer:/>add root_cause_alarm rule child_id=0x200F00C90115 fathers_id=0x200F00C90114,0x200F00C90131 delay_time=240 recover_time=420 relation_parameter=(1=2)(3=4)
WARNING: You are about to add the root cause alarm suppression rule.
This operation causes the alarms to be suppressed by the new rule.
Suggestion: Before performing this operation, ensure that the rule parameters are correct.
Have you read warning message carefully?(y/n)y
Are you sure you really want to perform the operation?(y/n)y
Command executed successfully.

System Response


Updated: 2020-01-17

Document ID: EDOC1000181575

Views: 726614

Downloads: 32

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next