DAS provides the alert service. You can customize alert rules and templates in the DAS console. When an alert rule is triggered by a database instance, DAS sends an alert. This topic describes how to configure and manage alert templates in the DAS console before you configure the alert service.

Procedure

Create an alert template

  1. Log on to the DAS console.
  2. In the left-side navigation pane, choose Alert Service > Alert Templates.
  3. On the Alert Templates page, click Create Template in the upper-right corner.
  4. In the Create Template dialog box, configure the following parameters and click OK.
    Parameter Description
    Template Name The name of the alert template.
    Template Type The type of the alert template. Set the template type to Database Resource Template.
    Select Rule The alert rule. Select a rule from the Existing Rule list or create a rule. For more information, see Configure Alert Rules.
    Alert Contact The contact to which the alert notifications are sent. Select an alert contact from the Existing Contact Group list or create a contact group as an alert contact. For more information, see Manage alert contacts.
  5. After the alert template is created, you can perform subsequent alert configuration operations. For more information, see Configure alerts.

Manage an alert template

  1. Log on to the DAS console.
  2. In the left-side navigation pane, choose Alert Service > Alert Templates.
  3. On the Alert Templates page, click one of the following buttons in the Actions column corresponding to an alert template.
    • Search: View the details or alert history of the alert template.
    • Associate: Associate the alert template with clusters or instances.
      Parameter Description
      Associated Dimension Associate the alert template with all resources, cluster resources, or instance resources.
      Resource Object Select the resources in the associated dimension.
      Note
      • Edit: Modify information about the alert template.
      • Disable: Disable the alert template.
      • Delete: Delete the alert template.