Help Center> ServiceStage> User Guide> Application O&M> Configuring Threshold Alarms

Configuring Threshold Alarms

When you need to monitor some resources and respond to exceptions in a timely manner, you can create threshold rules for metrics of these key resources in routine O&M so that you can find and handle exceptions in time.

  • If the metric meets the threshold conditions within a specified period, the system sends a threshold alarm.
  • If no metric is reported within a specified period, the system sends a data insufficiency event.
  • If you cannot query the change information about the threshold rule status on the ServiceStage console due to non-business hours or business trips, you can enable the notification function to send the change information to related personnel through SMS messages or emails.

Procedure

  1. Log in to ServiceStage and choose Application Management > Application List. All applications are displayed.
  2. Click an application to go to the application details page. On the Environment View tab page, you can view the deployed application components.
  3. Click a deployed application component. On the displayed application component instance details page, choose Threshold Alarms.
  4. On the Threshold Alarm page, click Threshold Rule Set.
  5. On the Add Threshold Rule page, set threshold rule parameters by referring to Table 1.

    Table 1 Threshold rule parameters

    Parameter

    Description

    *Threshold Name

    Name of the threshold rule to be added.

    • Not contain the following special characters:

      "#%&'$+;<=>?\

    • Value: 1–255 characters.
    • Must be unique and cannot be modified once specified.

    Metric

    Select the metrics to be monitored.

    *Threshold Condition

    Trigger condition of a threshold alarm. A threshold condition consists of two parts: determination condition (≥, ≤, >, and <) and threshold value.

    For example, if this parameter is set to ≥ 80, the system generates a threshold alarm when the actual value is greater than 80.

    Continuous Cycle

    When the metric meets the threshold condition for a specified number of consecutive periods, a threshold alarm will be generated.

    Value: 1, 2, 3, or 4.

    Alarm Severity

    Severity of the threshold-crossing alarm.

    It can be Critical, Major, Minor, or Warning.

    Send Notification

    Whether to send notifications.

    • If you select Yes (recommended), the system sends an email or SMS message to the user.
    • If you select No, the system does not send an email or SMS message to the user.

    *Topic Name

    Select a topic you created from the drop-down list. For details about how to create a notification, see Creating a Topic.

    *Trigger Scenario

    Trigger condition for sending a notification.

    • An alarm occurred: When a threshold alarm is generated, the system sends the change information to a specified user by email or SMS message.
    • The alarm is cleared: When the alarm is cleared, the system sends the change information to a specified user by email or SMS message.
    • Insufficient data: When no metric is reported, the system sends the change information to a specified user by email or SMS message.

    Statistics Mode

    Method used to measure the metrics.

    Value: Average, Minimum, Maximum, Sum, or Number of samples (that is, the count of metric points).

    Statistical Cycle

    Interval at which the metric is measured.

    It can be 1 minute, 5 minutes, 15 minutes, or 1 hour.

  6. Click OK.

Related Operations

After creating a threshold rule, you can perform operations described in Table 2.

Table 2 Related operations

Operation

Description

Modify a threshold alarm.

When you find that the current threshold rule is not properly set, you can perform the following operations to modify the threshold rule to better meet your service requirements.

  1. Click Modify in the Operations column of the threshold alarm list.
  2. On the Modify Threshold Rule page, modify the parameters of the threshold rule as prompted.
  3. Click Modify.

Delete a threshold alarm.

When you find that the current threshold rule is no longer needed, you can perform the following operations to delete the threshold rule to release more threshold rule resources.

  1. Delete one or multiple threshold rules.
    • To delete a single threshold, click Delete in the Operations column of the threshold rule list.
    • To delete one or more threshold rules, select one or more threshold rules and click Delete on the upper part of the page.
  2. In the Delete Threshold Rule dialog box that is displayed, click OK.

Search for threshold alarms.

  1. Select a time segment from the drop-down list.
  2. Enter the keyword of the alarm name or description in the search box on the upper right corner of the page.
  3. Click or press Enter.
  4. You can also click Advanced Search to set the search criteria and click Search to query.

View threshold-crossing alarms.

If the metric meets the threshold conditions within a specified period, the system sends a threshold alarm.

View the alarm in the threshold alarm list.

Check the data insufficiency event.

If no metric is reported within a specified period, the system sends a data insufficiency event.

You can click the Event tab to view the event in the event list.