Skip to main content

Configure alert policies

Use alert policies to connect monitored tasks with alert rules and notification targets. A policy defines which tasks to monitor, which alert rule to apply, and where notifications should be sent.

Use the default alert rules provided by NineData, or create custom rules for your own operational thresholds and notification channels.

Before you begin

Create an alert policy

Procedure

  1. Sign in to the NineData Console.

  2. Open Alert > Alert Policy.

  3. On the Alert Policy tab, click Create Policy.

  4. On the Create Policy page, configure the settings in the table.

    Parameter
    Description
    NameEnter a policy name. Use a clear name for later search and management. Up to 24 characters are supported.
    Task TypeSelect the type of task to be monitored. The supported task types are as follows:
    • Backup
    • Restore
    • Replication
    • Data Comparison
    • Schema Comparison
    • Gateway
    Related TasksSelect one or more tasks to monitor.
    Note: Create alert policies only after the corresponding tasks have been created.
    New tasks automatically startConfigure whether NineData associates newly created tasks of the same type.
    Alert RulesSelect the alert rule. An alert rule defines the trigger conditions and notification methods. NineData provides a default rule that sends alerts by SMS only. To create a custom rule, click Create Now below the rule list or see Create alert rules.
    Alert Reception (alert method is SMS, phone call, or email)Select the notification target. These options are supported:
    • User: Users who have joined NineData.
    • Receiver Group: Existing receiver groups. If no receiver group exists, click Create Now below the receiver group list. For details, see Configure alert recipients.
    Note: This option is displayed only when the Methods in the alert rule includes SMS, phone call, or email.
    Feishu/DingTalk/WeCom Webhook (alert method is Webhook)Select the webhook to use. To create a webhook, see Create a webhook.
    Note: This option is displayed only when the Methods in the alert rule includes Feishu/DingTalk/WeCom Webhook.
  5. Click Create Policy.

Create alert rules

  1. Sign in to the NineData Console.

  2. Open Alert > Alert Policy.

  3. Click the Alert Rules tab, and then click Create Rule.

  4. On the Create Rule page, configure the settings in the table.

    Parameter
    Description
    NameEnter a rule name. Use a clear name for later search and management. Up to 24 characters are supported.
    Task TypeSelect the task type for the rule. The supported task types are as follows:
    • Backup
    • Restore
    • Replication
    • Data Comparison
    • Schema Comparison
    • Gateway
    Alert ConditionSelect the alert condition. The console displays the condition as a logical expression. Supported conditions include:
    • Status: Alert when the task fails.
    • Backup Time: Alert when the full backup time is greater than the threshold.
    • Log Latency: Alert when the log backup delay is greater than the threshold.
    • Latency: Alert when the replication delay is greater than the threshold.
    • Periodic Status: After the user-configured time point is reached, check whether the periodic full replication task has finished. If it has not, alert.
    • Runtime: Alert when the replication task's running time is greater than the threshold.
    • Comparison Time: Alert when the comparison time is greater than the threshold.
    • Results: Alert when the comparison result is Inconsistency.
    • Gateway Status: Alert when the gateway status is abnormal.

    Note: If a task type supports multiple conditions, click Add to configure more conditions. The alert is triggered when any configured condition is met.
    Alert MethodsSelect one or more alert methods. Supported methods include SMS, phone call,email, and webhook (DingTalk, Lark, WeChat Work).
  5. Click Create Rule.

Result

Alert policies and alert rules are saved in the current organization. When a monitored task or gateway meets a configured condition, NineData sends notifications through the selected alert methods.