Updated on 2024-01-12 GMT+08:00

Creating a Masking Rule

Scenarios

This section describes how to create a masking rule.

Event monitoring does not support alarm masking.

Procedure

  1. Log in to the management console.
  2. Click Service List in the upper left corner, and select Cloud Eye.
  3. Choose Alarm Management > Alarm Masking.
  4. In the upper right corner of the page, click Create Masking Rule.
  5. On the displayed page, configure parameters as prompted.
    Figure 1 Create Masking Rule
    Table 1 Parameters for configuring a masking rule

    Parameter

    Description

    Name

    Specifies the masking rule name.

    Resource Type

    Specifies the service name to which the masking rule is applied.

    Dimension

    Specifies the dimension name of the metric corresponding to the masking rule.

    Masked By

    Specifies whether you mask alarm notifications for a resource or an alarm policy. You can select Resource or Policy.

    Resource

    Specifies the resource whose alarm notifications need to be masked.
    NOTE:
    • If you select Resource for Masked By, a maximum of 100 resources can be added at a time.
    • If you select Policy for Masked By, only one resource can be added at a time.

    Select Rule

    Select alarm rules for the resource only when you select Policy for Masked By.

    Select Policies

    Select alarm policies for the resource only when you select Policy for Masked By.

    NOTE:

    You can select one or more alarm policies to mask alarms.

    Alarm Masking Duration

    Specifies the time or duration when the masking rule takes effect.
    • Date and time: The masking rule takes effect within a specified time range.
    • Time: The masking rule takes effect in a fixed time range every day. You can also configure the effective date range when the masking rule takes effect. For example, if the effective date is 2022-12-01 to 2022-12-31 and the effective time is 08:00 to 20:00, the masking rule takes effect from 08:00–20:00 every day from December 1, 2022 to December 31, 2022.
    • Permanent: The masking rule always takes effect.
  6. Click Create.

If you select Resource for Masked By, all alarm notifications of the resource in this dimension will be masked.