Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Adding Threshold Rules

Updated on 2023-11-28 GMT+08:00

This function is available in AF-Johannesburg, LA-Mexico City1, LA-Mexico City2, LA-Sao Paulo1, and LA-Santiago.

You can set threshold conditions for resource metrics by setting threshold rules. If a metric value meets the threshold condition, a threshold alarm will be generated. If no metric data is reported, an insufficient data event will be generated.

When AOM is interconnected with Simple Message Notification (SMN) and you set a notification policy on the SMN console, notifications are sent by email or Short Message Service (SMS) message if the status of the threshold rule changes (Exceeded, OK, or Insufficient). In this way, you can identify and handle exceptions at the earliest time.

Precautions

  • You can create a maximum of 1000 threshold rules. If the number of threshold rules reaches 1000, delete unnecessary rules and create new ones.
  • Setting a notification policy
    If you want to send notifications by email or SMS message when the threshold rule status (Exceeded, Normal, or Insufficient) changes, set a notification policy on the SMN console according to the following procedure. If you do not need to receive email or SMS notifications, skip the following operations. The procedure is as follows:
    1. Create a topic.
    2. Set a topic policy.

      Select APM for Services that can publish messages to this topic. If APM is not selected, notifications cannot be sent.

    3. Add a subscription to a topic.

Creating a Threshold Rule

  1. Log in to the AOM console. In the navigation pane, choose Alarm Center > Threshold Rules. Then, click Add Threshold in the upper right corner.
  2. Customize a threshold rule.

    1. Select resources: Enter a threshold name, select a resource type, select the resources to be monitored from the resource tree, and click Next.
      NOTE:
      • You can select a maximum of 100 resources from the resource tree.
      • When multiple resources are selected, multiple single-resource threshold rules will be created after the creation is complete. Each resource is monitored by a single-resource threshold rule. A rule name consists of the threshold rule name you enter in the Threshold name text box, and a sequence number ranging from 0 to 9. The earlier a resource is selected, the smaller its number.
      Figure 1 Selecting resources
    2. Define a threshold: Select the metric to be monitored, and set parameters such as Threshold Condition, Consecutive Period, Alarm Severity, Statistic Method, and Send Notification.
      NOTE:
      • Threshold Condition: trigger condition of a threshold alarm. A threshold condition consists of two parts: determination condition (≥, ≤, >, or <) and threshold value. For example, after Threshold Condition is set to > 85, if the actual metric value exceeds 85, a threshold alarm is generated.
      • Consecutive Periods: If a metric value meets the threshold condition for a specified number of consecutive periods, a threshold alarm is generated.
      • Statistic Method: method used to measure metric values.
      • Statistical Cycle: interval at which metric data is collected.
      • Send Notification: whether to send notifications by email or SMS message when the threshold rule status (Exceeded, Normal, or Insufficient) changes.
        • If you want to receive email or SMS notifications, select Yes, set a notification policy, select a created topic, and select a trigger scenario.
        • If you do not need to receive notifications by email or SMS message, select No.
      • Trigger Scenario: condition for sending a notification.

        You can select multiple trigger conditions. For example, to receive notifications if the threshold status changes to Exceeded, select Threshold crossing. To receive notifications upon any threshold status change, select all trigger conditions.

      Figure 2 Customizing a threshold

  3. Click Submit. As shown in the following figure, multiple single-resource threshold rules are created. One resource corresponds to one rule. Each resource can be monitored by an independent rule.

    A single-resource threshold rule monitors a host. If the CPU usage of the host exceeds 85%, a threshold alarm is generated on the alarm page. You can choose Alarm Center > Alarm List in the navigation pane and view the alarm in the alarm list. If the host meets the preset notification policy, an email or SMS message will be sent.

    Figure 3 Creating a single-resource threshold rule

More Operations

After creating threshold rules, perform the operations listed in Table 1 if needed.

Table 1 Related operations

Operation

Description

Modifying a threshold rule

Choose Modify Threshold in the Operation column.

Deleting a threshold rule

  • To delete a threshold rule, choose More > Delete in the Operation column.
  • To delete one or more threshold rules, select them and click Delete above the rule list.

Searching for a threshold rule

You can search for a rule by rule name, description, or metric name. Simply enter a keyword in the search box in the upper right corner and click .

Viewing an alarm

When the metric value of a resource meets threshold conditions during the configured consecutive periods, the system reports a threshold alarm.

In the navigation pane, choose Alarm Center > Alarm List to view the alarm.

Viewing an event

When no metric data of a resource is reported during the configured consecutive periods, the system reports an insufficient data event.

In the navigation pane, choose Alarm Center > Event List to view the event.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback