All Products
Search
Document Center

Quota Center:Create an alert rule for a quota item

Last Updated:Feb 27, 2024

This topic describes how to create an alert rule for a quota item. If the usage of a quota reaches the specified threshold, Quota Center sends an alert notification to you. You can submit an application to increase the quota value at the earliest opportunity.

Prerequisites

To use the alert callback feature, make sure that you have a URL that can be accessed over the Internet to connect to your O&M system.

Background information

Quota Center allows you to use the alert callback feature to subscribe to alerts. Your O&M system can automatically initiate a process to increase a quota based on the alert callback content.

By default, Quota Center sends alert notifications by using emails. You can specify a webhook URL. This way, Quota Center can automatically increase a quota for a specified cloud service.

Procedure

  1. Log on to the Quota Center console.

  2. In the left-side navigation pane, click Quota Alerts.

  3. On the Quota Alerts page, click Create Quota Alert Rule.

  4. On the General Quotas page, select a cloud service and a region. Then, click Create Alert Rule in the Actions column of the quota item for which you want to create an alert rule.

  5. In the Create Quota Alert Rule panel, configure the parameters. The following table describes the parameters.

    Parameter

    Description

    Alert Rule Name

    The name of the alert rule.

    Alert Rule Type

    The type of the alert rule. Valid values:

    • Alert Rule for Used Quotas: The alert rule is created for quota usage.

    • Alert Rule for Available Quotas: The alert rule is created for the available quota.

    Threshold Type

    The type of the alert threshold. Valid values:

    • Numeric: The alert threshold is a numeric value.

    • Percentage: The alert threshold is a percentage.

    Threshold

    The alert threshold.

    You must set the threshold based on the settings of the Alert Rule Type and Threshold Type parameters.

    • If you set the Threshold Type parameter to Numeric Value, set the threshold based on the following requirements:

      • If you set the Alert Rule Type parameter to Alert Rule for Used Quotas, and the quota usage reaches the specified threshold, an alert notification is sent. The alert threshold must be greater than the current usage of the quota.

      • If you set the Alert Rule Type parameter to Alert Rule for Available Quotas, and the available quota is smaller than the specified threshold, an alert notification is sent. The alert threshold must be smaller than the current available quota.

    • If you set the Threshold Type parameter to Percentage, set the threshold based on the following requirements:

      • If you set the Alert Rule Type parameter to Alert Rule for Used Quotas, and the quota usage reaches the specified threshold, an alert notification is sent. Value range: [50%, 100%].

      • If you set the Alert Rule Type parameter to Alert Rule for Available Quotas, and the available quota is smaller than the specified threshold, an alert notification is sent. Value range: (0%, 50%].

    Alert Callback

    The webhook URL. Quota Center sends an alert notification to the specified URL by using an HTTP POST request.

    For more information about the examples and parameters of alert callback requests, see What is the request content of an alert callback?

    Note
    • By default, Quota Center sends an alert notification about 15 minutes after the specified alert threshold is reached.

    • If your alert callback is integrated with the webhook of a DingTalk chatbot, you must set the custom keyword of the DingTalk chatbot to Alert and then copy the webhook URL as the URL of the alert callback.

  6. Click OK.

  7. In the left-side navigation pane, click Quota Alerts. On the Quota Alerts page, view the details about the alert rule.

  8. Optional. View the result of the alert callback.

    If you configure the Alert Callback parameter, you can view the alert callback record and quota increase application after the alert callback succeeds.

    1. In the left-side navigation pane, click Alert History. On the Alert History page, view the alert callback record.

      If Alert Callback is displayed in the Notification Methods column of the record, the alert callback is successful.

      Alert History

    2. In the left-side navigation pane, click Application Records, and view the application that is automatically submitted to increase the quota.