All Products
Search
Document Center

Database Backup:Manage alert rules

最終更新日:Apr 09, 2024

Database Backup (DBS) is connected to CloudMonitor. You can use CloudMonitor to configure alert rules for key metrics. This way, you can handle exceptions at the earliest opportunity after you receive alert notifications.

Alert description

Alert item

Description

Trigger conditions

Incremental log backup is disabled, incremental log backup is enabled, an error occurs during an incremental backup, a backup gateway goes offline, an error occurs during a data restoration, a data restoration succeeds, an error occurs during a full backup, a backup schedule is suspended, and a backup schedule starts.

Alerting time

  • 00:00:00 to 09:00:00: Alerts are delayed.

  • Beyond the preceding time range: Alerts are immediately sent.

Alert contacts

The default alert contacts are the alert contacts specified for your Alibaba Cloud account. You can also customize alert contacts. For more information, see Create an alert contact or alert contact group.

Notification methods

The supported notification methods. The default notification method is Warn. You can select a notification method based on your business requirements.

  • Critical: Phone Call + Text Message + Email + Webhook

  • Warn: Text Message + Email + Webhook

  • Info: Email + Webhook

Enable the alert feature

Enable the alert feature in the DBS console

If you have not created a default alert rule for DBS, the message "You have not configured alert rules in DBS." appears when you go to the Backup Schedules page of the DBS console. If you click OK in the message that appears, DBS automatically creates the default alert rule named DBS_EVENT_RULE.

Enable the alert feature in the CloudMonitor console

If you have disabled an alert rule, you can re-enable it in the CloudMonitor console.

  1. Log on to the CloudMonitor console.

  2. In the left-side navigation pane, choose Event Center > System Event.

  3. In the upper-right corner of the Event Monitoring tab, click Old Event Alarm Rules to switch to the previous version of the event-based rule list.

  4. Find the DBS_EVENT_RULE rule and click Enable in the Actions column.

    image

  5. In the message that appears, click Confirm.

View alert history

  1. Log on to the CloudMonitor console.

  2. In the left-side navigation pane, choose Event Center > System Event.

  3. On the Event Monitoring tab, select Database Backup from the All Products drop-down list and click Search.

    image

Modify an alert rule

If the existing alert rules for DBS cannot meet your business requirements, you can modify the configuration items such as alert contacts and notification methods in an alert rule.

  1. Log on to the CloudMonitor console.

  2. In the left-side navigation pane, choose Event Center > System Event.

  3. In the upper-right corner of the Event Monitoring tab, click Old Event Alarm Rules to switch to the previous version of the event-based rule list.

  4. Find the DBS_EVENT_RULE rule and click Modify in the Actions column.

    For more information about the parameters, see Parameters of a system event-triggered alert rule.

    image

  5. In the Create/Modify Event-triggered Alert Rule panel, configure the parameters based on your business requirements and click OK.

Disable an alert rule

If you do not want to receive the notifications for a DBS event-triggered alert rule, you can disable the alert rule.

Important

After an alert rule is disabled, it does not take effect. You can perform this operation if you want to pause an alert rule. You can also re-enable a disabled alert rule. Proceed with caution.

  1. Log on to the CloudMonitor console.

  2. In the left-side navigation pane, choose Event Center > System Event.

  3. In the upper-right corner of the Event Monitoring tab, click Old Event Alarm Rules to switch to the previous version of the event-based rule list.

  4. Find the DBS_EVENT_RULE rule and click Disable in the Actions column.

    image

Delete an alert rule

After you delete a DBS system event-triggered alert rule, you are no longer notified of the alert notifications for it.

Important

After an alert rule is deleted, it cannot be restored. You can perform this operation if you no longer need an alert rule. Proceed with caution.

  1. Log on to the CloudMonitor console.

  2. In the left-side navigation pane, choose Event Center > System Event.

  3. In the upper-right corner of the Event Monitoring tab, click Old Event Alarm Rules to switch to the previous version of the event-based rule list.

  4. Find the DBS_EVENT_RULE rule and click Delete in the Actions column.

    image

Related operations

  • The system event-triggered alert rule feature of the old version is no longer upgraded and will be phased out. We recommend that you use the new event subscription feature. For more information about how to create an event subscription policy, see Create a subscription policy.

  • In addition to emails, CloudMonitor provides the alert callback feature to send notifications for system event-triggered alerts to your O&M system or notification system. For more information, see Configure callbacks for system event-triggered alerts (old).

  • You can also receive alert notifications by using PagerDuty, DingTalk, and WeCom. For more information, see Best practices.