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

Advanced O&M Command Reference

OceanStor 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these 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 root_cause_alarm rule

add root_cause_alarm rule

Function

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

Format

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

Parameters

Parameter

Description

Value

child_id=?

ID of a suppressed alarm.

NOTE:

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.

NOTE:

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", or "420".

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", or "420".

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.

Views

Developer view

Usage Guidelines

None

Example

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

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 632745

Downloads: 252

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