Updated on 2022-04-02 GMT+08:00

Configuring Intermittent/Toggling Rules

Prerequisites

You have the following operation permissions: Set Intermittent/Toggling Rules.

Context

  • A rule is valid only to the alarms reported after the rule is enabled.
  • Before setting rules, you need to understand the following concepts:
    • Original alarm: The alarms that meet the conditions in the intermittent/toggling rules are original alarms.
    • Intermittent policy: When the interval between alarm generation and alarm clearance is less than a specific period, the alarm is considered as an intermittent alarm. The period is called intermittent period.
    • Toggling policy: When the number of times that an alarm (with the same alarm ID) is reported by the same alarm source in a specified period reaches the trigger condition, the toggling handling is started. You can set the action to generate a toggling alarm or avalanche alarm, or redefine the original alarm severity. When the number of times that the alarm is reported by the same alarm source in the specified period reaches the termination condition, the toggling handling is terminated. After the toggling ends, the generated toggling or avalanche alarm is automatically cleared. If the original alarms are not cleared, the last original alarm is reported.
  • If the interval between the time when an alarm is generated and the time when the alarm is received is longer than 30 minutes, the alarm does not match the intermittent/toggling rule even if the alarm meets the conditions.
  • A maximum of 1000 intermittent/toggling rules can be created.
  • By default, the rules are sorted by the enabled and disabled states, and the rules in the same state are sorted by update time in descending order.

Procedure

  1. Choose Device Management > Alarms Management > Alarm Settings from the main menu.
  2. In the navigation pane, choose Intermittent/Toggling Rules.
  3. On the Intermittent/Toggling Rules page, click Create.
  4. In the Basic Information area, set the rule name, description, and whether to enable the rule.
  5. In the Conditions area, set the alarm severities, alarms, and alarm sources for the rule to take effect. Set advanced conditions to filter the alarms for the rule to take effect based on alarm parameters.
  6. In the Time Filter area, set the time and period for the rule to take effect as required.
  7. In the Analysis Type area, select Intermittent analysis or Toggling analysis or both as required.
  8. In the Intermittent Policy and Toggling Policy areas, configure the policies.

    • Intermittent Policy: Sets an intermittent period and action. For example, if the intermittent period is set to 30 and the policy action is set to Discard, the alarm is discarded when the interval between the generation and clearance of the alarm is less than 30 seconds.
      • Period: If the interval between the alarm generation time and alarm clearance time is less than the set period, the alarm meets the intermittent policy.
      • Action: The action for handling the alarm that meets the intermittent policy can be set to Discard or Displayed on Masked Alarms.
    • Toggling Policy: Sets the toggling trigger condition, termination condition, and handling policy. The differences between toggling alarms and avalanche alarms are as follows:
      • Toggling alarm: A new alarm is generated. The alarm is identified as a toggling alarm. The alarm information is the same as that of an original alarm. You can set Toggling Identifier in the Advanced settings area on the filter panel to filter the alarms.
      • Avalanche alarm: ALM-132 Avalanche alarm is generated.

  9. In the Other area, set the priority for the rule.
  10. Click OK.

Related Tasks

  • Deleting a rule: You can select a redundant rule from the rule list and click Delete to reduce the rule maintenance workload.
  • Enabling/disabling a rule: You can select a rule that is not used temporarily from the rule list and click Disable. To use a disabled rule, select the rule and click Enable.
  • Migrating rules: You can click Export on the rule page of the source system to export rules. Then, click Import in the target system to import the rule file exported from the source system to the target system.
  • Backing up, collecting statistics on, and reviewing rules, and modifying rules in batches: You can click Export on the rule page to export rules and back up, review, and collect statistics on the rules. If you need to modify rules in batches, you can modify the rules in batches in the exported rule file. Then, click Import on the rule page to import the modified rule file.

Task Example

Scenario

A minor alarm M lasts for a short period of time or is reported frequently. The cause may be that an NE or service switches between the normal state and the abnormal state repeatedly. To reduce the interference of such alarms, you can set an intermittent/toggling rule to handle the alarms using the following policies:

  • Intermittent policy: If alarm M is reported and cleared within 30 seconds, this alarm is discarded.
  • Toggling policy: If the number of times that alarm M is generated within 60 seconds is greater than 2, the toggling handling is triggered. If the number of times that alarm M is generated within 60 seconds is less than or equal to 0, the toggling handling is terminated.

Procedure

  1. On the Intermittent/Toggling Rules page, click Create.
  2. In the Basic Information area, enter the rule name.
  3. In the Conditions area, select Designated alarms. Click Add Alarm and select M, which indicates that the intermittent/toggling rule is performed on alarm M. After the alarm M is displayed in Selected, click OK.
  4. In the Analysis Type area, select Intermittent analysis and Toggling analysis.
  5. In the Intermittent Policy and Toggling Policy areas, configure the policies.
    • Intermittent Policy: Set Period (s)(T) to 30 and Action to Discard.
    • Toggling Policy: Set Period (s)(T1) to 60 and Generated alarms to 2 for Trigger condition, Period (s)(T2) to 60 and Generated alarms to 0 for Termination condition, and Handling policy to Generate a toggling alarm and discard original alarms generated after toggling.
  6. Click OK.

Result

If alarm M is cleared within 30 seconds after being reported, it is discarded. If the M alarm is reported frequently, the original alarms generated after the toggling policy is triggered are discarded and a new toggling alarm is generated.