Manage alerts

Updated at:

Lindorm instances provide an instance monitoring feature. When a monitoring metric meets a specified alert condition, the contacts in an alert contact group receive a timely alert notification. This topic describes how to manage alert rules by using the Lindorm console.

Background information

The monitoring and alerting feature uses CloudMonitor. CloudMonitor allows you to configure monitoring metrics and alert rules. When an alert rule is triggered, CloudMonitor sends notifications by email or SMS to all contacts in the specified alert contact group. You can also manage alert contact groups for your monitoring metrics to ensure that relevant contacts receive timely alerts.

Create an alert rule

  1. Log on to the Lindorm console.

  2. In the upper-left corner of the page, select the region where the instance is deployed.

  3. On the Instances page, click the ID of the target instance or click View Instance Details in the Actions column for the instance.

  4. In the left-side navigation pane, click Configure Alert Rule to view the alert rules for the instance.

    Note

    Alert rules that you create in the Lindorm console are not displayed in the alert rule list of Cloud Monitor. To create alert rules by using the Cloud Monitor console, see View monitoring information.

    This list shows information such as the rule name (for example, Lindorm Time Series Engine API Write Failure), category, and status. In the Actions column, you can view the rule's Alert History or perform operations such as Edit, Enable, Disable, and Delete.

  5. In the upper-right corner of the page, click Create Alert Rule.

  6. In the Create Alert Rule panel, configure the following parameters.

    Parameter

    Description

    Alert Template

    Select an alert template. To create a new alert template, see Create an alert template.

    Note

    Only metric templates for the time series engine are supported.

    Rule Name

    The name of the alert rule.

    Alert Expression

    The core logic of the alert rule. An alert is triggered when a monitoring metric satisfies this expression.

    Duration

    The duration in minutes that the condition must be met to trigger an alert.

    Alert Message

    The content of the alert notification that you receive.

    Create Tag

    The tag for the alert rule. You can specify a tag key and a tag value.

    Create Annotation

    The annotation for the alert rule. You can specify an annotation key and an annotation value.

    Notification Policy

    Select Notification Rules Unspecified or specify a notification policy. You can click New Notification to create a notification policy. For parameter details, see Create a notification policy.

  7. After you configure the parameters, click Determine.

Create a notification policy

In the Create Alert Rule panel, click New Notification in the lower-right corner to create a notification policy. This opens the Create Notification Policy panel.

Parameter

Description

Notification Policy Name

A custom name for the notification policy.

Contact

The recipients for alert notifications. You can specify contacts, contact groups, and IM robots as notification recipients.

Note

For information about how to create contacts, see Notification recipients.

Notification Method

The methods for sending notifications. Supported methods include DingTalk, email, Webhook, SMS, and phone call. You can select multiple methods.

Note

The phone call notification method cannot be used for contacts with unverified phone numbers. To verify a phone number, see Verify a mobile phone number.

Notification Period

The time window during which alert notifications are repeatedly sent.

Manage alert rules

  1. Log on to the Lindorm console.

  2. In the upper-left corner of the page, select the region where the instance is deployed.

  3. On the Instances page, click the ID of the target instance or click View Instance Details in the Actions column for the instance.

  4. In the left-side navigation pane, click Configure Alert Rule.

  5. In the alert rule list, find the desired alert rule and select an operation from the Operation column. The following operations are supported:

    • To view the alert history for a rule, click Alert History in the Operation column. This redirects you to the Application Real-Time Monitoring Service (ARMS) console to view the historical alerts for the rule.

    • To modify a rule, click Edit in the Operation column. In the Edit Alert Rule panel, modify the parameters. For more information, see Create an alert rule.

    • To disable a rule, click Disable in the Operation column. A disabled rule does not trigger alerts, even when its conditions are met.

    • To delete a rule, click Delete in the Operation column. You cannot recover a deleted alert rule; it must be recreated.