All Products
Search
Document Center

Cloud Parallel File Storage:Configure a basic alert rule

Last Updated:Jun 20, 2026

You can create alert rules to monitor the resource usage of your Cloud Parallel File Storage (CPFS) file systems. If a resource's metric meets the specified alert conditions, Cloud Monitor automatically sends an alert notification. This allows you to identify and handle exceptions promptly.

Prerequisites

  • A Cloud Parallel File Storage (CPFS) file system is created. For more information, see Create a file system.

  • Cloud Monitor is activated.

    To activate Cloud Monitor, go to the Cloud Monitor product page and follow the on-screen instructions.

Procedure

  1. Log on to the Cloud Monitor console.

  2. In the left-side navigation pane, choose Alerts > Alert Rules.

  3. On the Alert Rules page, click Create Alert Rule.

  4. In the Create Alert Rule panel, configure the parameters for the alert rule.

    1. Configure the basic parameters as described in the following table.

      Parameter

      Description

      Product

      • If you want to monitor the capacity of your file systems, select CPFS.

      • If you want to monitor the performance of your file systems, select NAS.

      Resource Range

      The range of resources to which the alert rule applies. Valid values:

      • All Resources: The alert rule applies to all your CPFS resources.

      • Application Group: The alert rule applies to all resources in a specified application group.

      • Instances: The alert rule applies to one or more specified instances.

      Related Resource

      If you set the Resource Range parameter to Application Group or Instances, select the resources that you want to monitor from the drop-down list.

      Rule Description

      The conditions that trigger the alert rule. Cloud Monitor triggers an alert when monitoring data meets these conditions. To configure the rule:

      1. Click Add Rule.

      2. In the Configure Rule Description panel, enter a Rule Name and then configure the rule conditions.

        • Simple Metric: Select a metric, then set a threshold and an alert level.

        • Combined Metrics: Select an alert level, then configure alert conditions for two or more metrics.

        • Expression: Select an alert level, then configure the alert conditions. For more information about how to configure complex alert conditions, see Alert rule expressions.

        • Dynamic Threshold: For more information about dynamic thresholds, see Overview and Create an alert rule based on a dynamic threshold.

          Note

          The dynamic threshold feature is in invitational preview. To use this feature, you must submit a ticket to apply.

      3. Click OK.

      For more information about the metrics supported by Cloud Parallel File Storage (CPFS), see Metrics.

      Example

      For example, to trigger a Critical-level alert when a file system's data volume reaches or exceeds 4,155,796,933,836 bytes for three consecutive periods, you would set Metric Type to Simple Metric and Metric to capacity / Data Volume. Then, in the Threshold and Alert Level section, set the Critical trigger condition for when the metric value is ≥ 4155796933836 B for three consecutive periods (where one period is one minute). You would also select your desired notification methods, such as phone, SMS, email, and webhook.

      Note

      When you scale up a file system, its total storage space changes. You must then update the alert rule with a new threshold.

      To monitor multiple performance metrics for a file system, you can select Combined Metrics and configure multiple metric conditions.

      Mute Period

      The interval at which alert notifications are resent if an alert is not cleared. Valid values: 5 minutes, 15 minutes, 30 minutes, 60 minutes, 3 hours, 6 hours, 12 hours, and 24 hours.

      An alert notification is sent when a metric reaches its threshold.

      • If the metric continues to exceed the threshold within the mute period, no new notifications are sent.

      • If the metric does not return to normal after the mute period, Cloud Monitor sends another alert notification.

      For example, if Mute Period is set to 12 Hours and the alert is not cleared, Cloud Monitor resends an alert notification 12 hours later.

      Effective Period

      The time range during which the alert rule is active. Cloud Monitor checks for alert conditions and sends notifications only within this period.

      Alert Contact Group

      The group of contacts who receive alert notifications.

      Cloud Monitor sends alert notifications to the contacts in the selected alert contact group. An alert contact group can contain one or more alert contacts.

      For more information, see Create an alert contact or an alert contact group.

      Tag

      The tags for the alert rule. A tag consists of a key and a value.

      Note

      You can add up to six tags.

    2. (Optional) Click Advanced Settings, and configure the parameters as described in the following table.

      Parameter

      Description

      Alert Callback

      A publicly accessible URL that receives alert data from Cloud Monitor via HTTP POST requests. Only HTTP is supported. Use threshold-based alert callbacks.

      To test connectivity to the callback URL:

      1. Click Test, located directly to the right of the callback URL.

        In the WebHook Test panel, check the HTTP status code and test result details to verify connectivity.

        Note

        You can also set the Test Template Type: and Language:. Then click Test again to view updated test results.

      2. Click Close.

      Auto Scaling

      If you enable Auto Scaling, Cloud Monitor triggers the associated scaling rule when an alert occurs. You must specify the Region, ESS Group, and ESS Rule.

      Log Service

      If you enable Simple Log Service, Cloud Monitor sends alert data to a Logstore in Simple Log Service (SLS) when an alert occurs. You must specify the Region, ProjectName, and Logstore.

      Collect and analyze ECS text logs using LoongCollector.

      Simple Message Queue (formerly MNS) - Topic

      If you enable the Simple Message Queue (formerly MNS) - Topic switch, alarm information is sent to a Simple Message Queue topic when an alarm is triggered. You need to set the region and topic for the Simple Message Queue.

      Create a topic.

      Function Compute

      If you enable Function Compute, alert notifications are sent to Function Compute for processing when an alert occurs. You must specify the Region, Service, and Function.

      For more information about how to configure a service and function, see Create a function in the Function Compute console.

      Recovery Notification 

      Specifies whether to send a recovery notification when the alert is cleared.

      Missing Data Treatment

      The method to handle alerts when monitoring data is unavailable. Valid values:

      • Do not do anything (default)

      • Send alert notifications

      • Treated as normal

  5. Click Confirm to save the alert rule.

    If a monitored metric exceeds its threshold, an alert notification is automatically sent, which helps you quickly identify and handle abnormal data.

Related documents