All Products
Search
Document Center

Quota Center:Modify quota alerts

Last Updated:Dec 05, 2023

You can modify the alert threshold or callback address of a quota alert based on your business requirements.

Prerequisites

A quota alert is created. For more information, see Create an alert rule for a quota item.

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, find the quota alert that you want to modify, and then click Modify in the Actions column.

  4. In the Edit Alert Settings panel, modify the settings of the quota alert.

    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.

  5. Click OK.

  6. 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.