All Products
Search
Document Center

ApsaraMQ for Kafka:Manage alert contacts

Last Updated:Feb 02, 2024

By default, alert notifications for an ApsaraMQ for Kafka instance are sent to the owner of the Alibaba Cloud account to which the instance belongs. If the owner of the Alibaba Cloud account is not an O&M engineer or a developer, exceptions may not be handled at the earliest opportunity. ApsaraMQ for Kafka provides the alert contact feature. You can add contacts and configure settings to send alert notifications to the contacts by using text messages, DingTalk, and webhooks.

Add an alert contact

  1. Log on to the ApsaraMQ for Kafka console.

  2. In the left-side navigation pane, choose Common Tools & Links > Alert Contacts.

  3. On the Alert Contacts page, click Add Contact.

  4. In the Add Contact panel, configure the parameters and click OK. The following table describes the parameters.

    Parameter

    Description

    Name

    The contact name.

    Mobile Number

    The mobile phone number of the contact. This phone number is used to receive alert notifications that are sent by using text messages.

    Note

    The phone number of each contact must be unique.

    DingTalk Chatbot

    The webhook URL of the DingTalk chatbot. After you specify the webhook URL of the DingTalk chatbot for a contact, alert notifications are sent to the DingTalk group. For more information, see Obtain the webhook URL of a DingTalk chatbot.

    Alerting Instance

    The instance for which you want to configure alert notifications. You can select multiple instances. If you do not specify this parameter, the contact can receive alert notifications for all instances that belong to your Alibaba Cloud account.

    Alert Period

    The time range during which the system can send alert notifications. The time range is accurate to hours. If you specify an alert period, ApsaraMQ for Kafka sends alert notifications that are generated during the day within the specified time range.

    If you do not specify an alert period, ApsaraMQ for Apache Kafka sends an alert notification when an issue is detected.

    Status

    The pattern based on which the contact receives alert notifications. You can disable the contact from receiving alert notifications. You can also configure the contact to receive alert notifications on a daily basis or only every business day.

    • Disable Receiving Termination: The contact no longer receives alert notifications.

    • Daily: The contact receives alert notifications on a daily basis.

    • Monday to Friday: The contact receives alert notifications only every business day.

    On the Alert Contacts page, you can view the contact that you added.

Modify an alert contact

After you add a contact, you can modify the contact information or alert configurations based on your business requirements.

  1. On the Alert Contacts page, find the contact that you want to modify and click Modify Contact in the Actions column.

  2. In the Modify Contact panel, modify the contact information.

Delete an alert contact

If you no longer require a contact, you can delete the contact.

  1. On the Alert Contacts page, find the alert contact that you want to delete and click Delete in the Actions column.

  2. In the message that appears, click OK.

References

For information about scenarios in which alert notifications are sent, see CloudMonitor and View risks on an instance.