Creating an Event Alarm Rule

You can set event conditions for services by setting event alarm rules. When a service changes and resource data meets the event conditions, an event alarm is generated.

Precautions

If you want to receive notifications by email or SMS message when the resource data of a service meets the event condition, set an alarm action policy according to Creating an Alarm Action Policy.

Procedure

  1. Log in to the AOM console. In the navigation pane, choose Alarm Center > Alarm Rules. Then, click Create Alarm Rule in the upper right corner.
  2. Set an event alarm rule.

    1. Set basic information such as the rule name and description.
      Figure 1 Setting basic information
    2. Set details about the rule.
      1. Set Rule Type to Event alarm.
      2. Set the alarm source, trigger object, and trigger policy.
        Table 1 Alarm rule parameters

        Parameter

        Description

        Alarm Source

        Name of the service for which an event alarm is reported. You can select a service from the service list.

        Trigger Object

        Select criteria to filter service events. You can select Notification Type, Event Name, Alarm Severity, Custom Attributes, Namespace, or Cluster Name as the filter criterion. One or more criteria can be selected.

        Trigger Policy

        Policy for triggering event alarms.

        • Accumulated triggering: An alarm action policy is triggered when the preset accumulated number of times has been reached in a monitoring period.
        • Immediate triggering: An alarm is generated immediately when the filter criterion is met.
        Figure 2 Setting an alarm rule
    3. Set an alarm notification policy. There are two alarm notification modes.
      • Direct alarm reporting: An alarm is directly sent when the alarm condition is met.

        You need to configure whether to enable an alarm action policy. After this function is enabled, the system sends alarm notifications based on the associated SMN topic and message template. If the existing alarm action policies cannot meet the requirements, click Create Policy to add one. For details about how to set an alarm action policy, see Creating an Alarm Action Policy.

        Figure 3 Selecting the direct alarm reporting mode
      • Alarm noise reduction: Alarms are sent only after being processed based on alarm action policies, preventing alarm storms.

        Select a grouping rule to reduce alarm noise. If existing grouping rules cannot meet your requirements, click Create Grouping Rule to create one. For details, see Grouping Rules.

        Figure 4 Selecting the alarm noise reduction mode

  3. Click Create Now. An event alarm rule is created, as shown in Figure 5.

    This rule monitors critical alarm events of AOM. When the AOM resources meet the preset event alarm condition, critical alarms are generated on the alarm page.

    In the navigation pane, choose Alarm Center > Alarm List to view the alarm. When a service event meets the preset notification policy, the system sends an alarm notification to the specified personnel by email, SMS, or WeCom.

    Figure 5 Event alarm rule

Related Operations

After creating an event alarm rule, perform the operations listed in Table 2 if needed.

Table 2 Related operations

Operation

Description

Modifying an event alarm rule

Click Modify in the Operation column.

Deleting an event alarm rule

  • To delete an event alarm rule, click Delete in the Operation column.
  • To delete one or more event alarm rules, select them and click Delete above the rule list.

Starting or stopping an event alarm rule

Choose More > Start or Stop in the Operation column.

Searching for an event alarm rule

You can search for a rule by rule name, description, or metric name. Simply enter a keyword in the search box in the upper right corner and click .