You can create, view, modify, delete, enable, and disable alert rules for an application group.

Prerequisites

An application group is created. For more information, see Create an application group.

Background information

After you select an application group, you can only view the alert rules applied to the application group, not the alert rules applied to a specific instance or all resources.

Create an alert rule

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, click Application Groups.
  3. On the Application grouping tab of the Application Groups page, click the name or ID of the target application group.
  4. On the Group Resource page, click Threshold alarm in the upper-right corner.
  5. In the Add or Edit Rules right-side pane, set the parameters in the Product Type, Rule, Alarm mechanism, and Contact Group sections.
  6. Click Add.

Create alert rules by applying an alert template

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, click Application Groups.
  3. On the Application grouping tab of the Application Groups page, click the name or ID of the target application group.
  4. On the Group Resource page, click Apply Template to Group in the upper-right corner.
  5. In the Apply Template to Group dialog box, set the Select Template, Muted, Effective From, HTTP CallBack, and Option parameters.
  6. Click OK.

Delete an alert rule

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, click Application Groups.
  3. On the Application grouping tab of the Application Groups page, click the name or ID of the target application group.
  4. On the Group Resource page, click Alarm Rule in the left-side navigation pane.
  5. On the Threshold Value Alarm tab of the Alarm Rules page, find the target alert rule and click Delete in the Actions column.
  6. In the Delete Alarm message, click OK.

Modify an alert rule

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, click Application Groups.
  3. On the Application grouping tab of the Application Groups page, click the name or ID of the target application group.
  4. On the Group Resource page, click Alarm Rule in the left-side navigation pane.
  5. On the Threshold Value Alarm tab of the Alarm Rules page, find the target alert rule and click Modify in the Actions column.
  6. In the Create / Modify Event Alert right-side pane, modify the Event Type, Application Groups, Event Name, Rule Description, and Notification Method parameters as needed.
  7. Click OK.

Disable or enable all alert rules of an application group

If you need to manually stop a service for maintenance or upgrade, you can disable all alert rules of the application group to which the service resources belong. Then, you will not receive a large number of unwanted alert notifications that are sent because of manual operations. After you maintain or upgrade the service, you can enable all alert rules of the application group.

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, click Application Groups.
  3. On the Application Groups page, disable or enable all alert rules of an application group.
    • Disable all alert rules
      1. Find the target application group and choose More > Disable All Alarm Rules in the Actions column.
      2. In the Disable All Alarm Rules message, click Disable.
    • Enable all alert rules
      1. Find the target application group and choose More > Enable All Alarm Rules in the Actions column.

Disable or enable one or more alert rules of an application group

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, click Application Groups.
  3. On the Application grouping tab of the Application Groups page, click the name or ID of the target application group.
  4. On the Group Resource page, click Alarm Rule in the left-side navigation pane.
  5. On the Threshold Value Alarm tab of the Alarm Rule page, disable or enable one or more alert rules.
    • Disable one or more alert rules
      1. On the Threshold Value Alarm tab, find the target alert rule and click Disable in the Actions column. Alternatively, select multiple alert rules and click Disable below the alert rule list.
      2. In the Disable Alarm Rule message, click OK.
    • Enable one or more alert rules
      1. On the Threshold Value Alarm tab, find the target alert rule and click Enable in the Actions column. Alternatively, select multiple alert rules and click Enable below the alert rule list.
      2. In the Enable Alarm Rule message, click OK.