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
On this page

Creating an Alarm Template

Updated on 2024-06-20 GMT+08:00

An alarm template contains a group of alarm rules for a specific resource. You can use it to quickly create alarm rules for multiple metrics of a resource. Before creating a metric alarm rule by using a template, ensure that an alarm template has been created.

Precautions

You can create up to 150 alarm templates. If the number of alarm templates reaches 150, delete unnecessary templates and create new ones.

Procedure

  1. On the menu bar, choose Monitoring Center.
  2. In the navigation pane, choose Alarm Management > Alarm Rules.
  3. On the Alarm Templates tab page, click Create Alarm Template.
  4. Customize an alarm template. For details, see Table 1.

    Table 1 Alarm template parameters

    Category

    Parameter

    Description

    Template Info

    Template Name

    Name of the template. Enter a maximum of 64 characters. The following special characters are not allowed: "$#%&'+;<=>?\

    Template Info

    Description

    Description of the template. Enter up to 256 characters.

    Alarm Rules

    Monitored Object

    Select a monitored object from the resource tree.

    Alarm Rules > Alarm Condition

    Metric

    Metric to be monitored.

    Consecutive Periods

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

    Statistical Period

    Metric data is aggregated based on the configured statistical period, which can be 1 minute, 5 minutes, 15 minutes, or 1 hour.

    Statistic

    Method used to measure metrics. Options: Avg, Min, Max, Sum, and Samples.

    Alarm Condition

    Trigger condition of a metric alarm. An alarm condition consists of two parts: operators (≥, ≤, >, and <) and threshold value. For example, if the trigger condition is set to > 85 and an actual metric value exceeds 85, a metric alarm will be generated.

    Alarm Severity

    Severity of a metric alarm. Options: Critical, Major, Minor, and Warning.

    Alarm Rules

    Check Interval

    Interval at which metric query and analysis results are checked.

    • Hourly: Query and analysis results are checked every hour.
    • Daily: Query and analysis results are checked at a fixed time every day.
    • Weekly: Query and analysis results are checked at a fixed time point on a specified day of a week.
    • Custom interval: The query and analysis results are checked at a fixed interval.
    • Cron: A cron expression is used to specify a time interval. Query and analysis results are checked at the specified interval.

      The time specified in the cron expression can be accurate to the minute and must be in the 24-hour notation. Example: 0/5 * * * *, which indicates that the check starts from 0th minute and is performed every 5 minutes.

    Alarm Rules > Advanced Settings

    Alarm Clearance

    An alarm will be cleared if the monitored object does not meet the trigger condition within the monitoring period. By default, metrics in only one period are monitored. You can set up to five monitoring periods.

    Action Taken for Insufficient Data

    Action to be taken when no metric data is generated or metric data is insufficient within the monitoring period. You can set this option based on your requirements.

    By default, metrics in only one period are monitored. You can set up to five monitoring periods.

    The system supports the following actions: changing the status to exceeded and sending an alarm, changing the status to insufficient data and sending an event, maintaining the previous status, and changing the status to normal and sending an alarm clearance notification.

  5. Click OK.

More Operations

After the alarm template is created, you can also perform the operations listed in Table 2.

Table 2 Related operations

Operation

Description

Viewing an alarm template

In the template list, you can view information such as the template name, monitored object, and bound rules. Click on the left of the template name. In the expanded list, you can view details about the bound rule and alarm condition.

Modifying an alarm template

Click in the Operation column.

Copying an alarm template

Click in the Operation column.

Deleting an alarm template

  • To delete an alarm template, click in the Operation column.
  • To delete one or more alarm templates, select them and click Delete above the template list.

Unbinding an alarm rule

Click next to the template name. On the Bound Rule tab page, click Unbind in the row that contains the desired rule to unbind it from the alarm template.

Searching for an alarm template

Enter a template name in the search box in the upper right corner and click .

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