Configure Alert Policies
NineData provides alert functionality, and you need to create an alert policy to enable the push function of alert messages. This article introduces how to create an alert policy and customize alert rules.
Create an Alert Policy
Prerequisites
- An alert reception method has been created. For more information, please refer to Configure Alert Reception.
- A task that needs to be monitored has been created. If not created yet, please create a task first, supported tasks: Data Backup, Data Recovery, Data Replication, Data Comparison, Schema Comparison, Gateway.
Operation Steps
Log in to the NineData Console.
Click on > in the left navigation bar.
On the tab, click on the in the upper right corner.
On the page, configure according to the table below.
Parameter Description Enter the name of the policy. To facilitate subsequent search and management, please use a meaningful name as much as possible. Up to 24 characters are supported. Select the type of task to be monitored. The supported task types are as follows: Select the task to be monitored. Clicking on different tasks allows for multiple selections. The alert policy can only be associated with tasks of the corresponding task type. For example, when is , only the task list of is displayed here.
Note: Alert policies can only be created if the corresponding tasks have been created.Select the alert rule. The alert rule includes the conditions for triggering an alert and the method of alert push. NineData provides a default alert rule that only pushes alerts via SMS. If you need to customize alert rules, please click on below the rule list. (Alert method is SMS, phone call, email) Select the target for alert push. The following options are supported: - : Users who have joined NineData.
- : Created receiver groups. If not created yet, please click on below the receiver group list. For more information, please refer to Configure Alert Reception.
(Alert method is Webhook) Select the Webhook to be used. How to create a Webhook, please refer to Create Webhook.
Note: This option is only displayed when the in the alert rule includes .Click on .
Create Alert Rules
Log in to the NineData Console.
Click on > in the left navigation bar.
Click on the tab and click on the in the upper right corner.
On the page, configure according to the table below.
Parameter Description Enter the name of the policy. To facilitate subsequent search and management, please use a meaningful name as much as possible. Up to 24 characters are supported. Select the task type corresponding to the rule. The supported task types are as follows: Select the alert condition, which is displayed in the console in the form of a logical expression. Includes: - : Alert when the task fails.
- : Alert when the full backup time is greater than the threshold.
- : Alert when the log backup delay is greater than the threshold.
- : Alert when the replication delay is greater than the threshold.
- : After reaching the user-configured time point, check whether the periodic full replication task has been completed. If not completed, alert.
- : Alert when the replication task's running time is greater than the threshold.
- : Alert when the comparison time is greater than the threshold.
- : Alert when the comparison result is .
- : Alert when the gateway status is abnormal.
Note: When there are multiple conditions in the task type, you can click on to configure multiple conditions. As long as one of the conditions is met, an alert will be triggered.Select the alert method, which can be single or multiple selections. Supports SMS, phone call, email, Webhook (DingTalk, Lark, WeChat Work). Click on .