El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.

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
Situation Awareness
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 Rule

Updated on 2025-01-20 GMT+08:00

To monitor the usage of cloud service resources or key operations on cloud service resources, you can create an alarm rule. After the alarm rule is created, if the metric data reaches the specified threshold or the specified events occur, Cloud Eye immediately informs you that an exception has occurred.

This topic describes how to create an alarm rule.

Creating an Alarm Rule

  1. Log in to the management console.
  2. Choose Service List > Cloud Eye.
  3. In the navigation pane, choose Alarm Management > Alarm Rules.
  4. Click Create Alarm Rule in the upper right corner.
  5. On the Create Alarm Rule page, configure parameters.
    1. Set Name and Description.
      Figure 1 Basic information
      Table 1 Name and Description

      Parameter

      Description

      Name

      Specifies the alarm rule name. The system generates a random name, which you can modify.

      Example value: alarm-b6al

      Description

      (Optional) Provides supplementary information about the alarm rule.

    2. Select resources and configure other parameters.
      Figure 2 Configuring alarm rule parameters
      Table 2 Alarm rule parameters

      Parameter

      Description

      Example Value

      Alarm Type

      Specifies the alarm type to which the alarm rule applies. The type can be Metric or Event.

      Metric

      Cloud Product

      This parameter is only available if Metric is selected for Alarm Type. Select a cloud product from the drop-down list. For details about supported cloud products and their metrics, see Services Monitored by Cloud Eye.

      Elastic Cloud Server - ECSs

      Resource Level

      This parameter is only available if Metric is selected for Alarm Type. Two options are available: Cloud product (recommended) and Specific dimension.

      Take ECS as an example. ECSs is the cloud product. Specific dimensions are disks, mount points, processes, and more.

      Cloud product

      Monitoring Scope

      This parameter is only available if Metric is selected for Alarm Type. Three options are available: All resources, Resource groups, or Specified resources.

      NOTE:
      • All resources: An alarm will be triggered if any resource of the current cloud product meets the alarm policy. To exclude resources that do not require monitoring, click Select Resources to Exclude.
      • Resource groups: An alarm will be triggered if any resource in the to-be-selected resource group meets the alarm policy. To exclude resources that do not require monitoring, click Select Resources to Exclude.
      • Specified resources: Click Select Specific Resources to select resources.

      All resources

      Group

      This parameter is available only if Metric is selected for Alarm Type and Resource groups for Monitoring Scope.

      N/A

      Instance

      This parameter is available only if Metric is selected for Alarm Type and Specific resources for Monitoring Scope.

      N/A

      Threshold Type

      For ECSs, you can select Static or Dynamic. The feature is available only in the CN South-Guangzhou region.

      • Static: Indicates the fixed value set in an alarm rule. If the fixed value is reached, an alarm will be triggered.
      • Dynamic: Indicates the predicative value range calculated based on historical data. If the current metric data deviates from the predicted value range, an alarm will be triggered.

      Static

      Event Type

      This parameter is only available if Event is selected for Alarm Type. You can select either System event or Custom event.

      System event

      Event Source

      This parameter is only available if Event is selected for Alarm Type.

      • If System event is selected for Event Type, select the cloud service from which the event comes.

        Example value: Elastic Cloud Server

      • If Custom event is selected for Event Type, the event source must be the same as that of the reported fields and written in the service.item format.

      N/A

      Method

      • Configure manually: If Event is selected for Alarm Type and Custom Event for Event Type, Method is set to Configure manually by default.
      • Associate template: After an associated template is modified, the policies contained in this alarm rule to be created will be modified accordingly.
        NOTE:
        • When Resource Level is set to Cloud product, only changes to policies for the specified cloud product in an associated template will be automatically synchronized.
        • When Resource Level is set to Specific dimension, only changes to policies for the specified dimension in an associated template will be automatically synchronized.

        For example, if Resource Level is set to Specific dimension > ECSs, only changes to the ECS policies in the template will be automatically synchronized to the alarm rule, but changes to the policies of ECS disks will not.

      Configure manually

      Template

      You need to select a default template in either of the following conditions:

      • Metric is selected for Alarm Type and Associate template is selected for Method.
      • Event is selected for Alarm Type, System event is selected for Event Type, and Associate template is selected for Method.

      You can select a default or custom template.

      N/A

      Alarm Policy

      If Event is selected for Alarm Type and Custom event is selected for Event Type, you need to set Alarm Policy.

      If Custom event is selected for Event Type, as long as an event occurs, an alarm will be triggered. for example, an ECS goes down.

      For details, see Alarm Policies.

      NOTE:

      A maximum of 50 alarm policies can be added to an alarm rule. If any one of these alarm policies is met, an alarm will be triggered.

      N/A

      Alarm Severity

      Specifies the alarm severity, which can be Critical, Major, Minor, or Informational.

      Major

    3. Configure the alarm notification.
      Figure 3 Configuring alarm notifications

      Table 3 Alarm Notification parameters

      Parameter

      Description

      Alarm Notification

      Specifies whether to send notifications to users over different protocols, such as SMS, email, voice notification, HTTP, HTTPS, FunctionGraph (function), FunctionGraph (workflow), WeCom chatbot, DingTalk chatbot, Lark chatbot, and WeLink chatbot.

      Notification Type

      The following options are available:

      • Notification groups: Configure notification templates on Cloud Eye.
      • Topic subscriptions: Configure notification templates on SMN.

      Notification Policies

      If Notification policies is selected for Notification Recipient, you need to select one or more notification policies. You can specify the notification group, window, template, and other parameters in a notification policy. For details, see Creating, Modifying, or Deleting a Notification Policy.

      Notification Group

      If Notification groups is selected for Notification Recipient, select the notification groups to which alarm notifications will be sent.

      Notification Object

      Specifies the object to which alarm notifications will be sent. You can select the account contact or a topic name. This parameter is available only if Topic subscriptions is selected for Notification Recipient.

      • Account contact: Enter the phone number and email address of the registered account.
      • A topic is used to publish messages and subscribe to notifications. If the required topic is unavailable, create one first and add subscriptions to it. For details, see Creating a Topic and Adding Subscriptions.

      Notification Template

      This parameter is only available if Notification groups or Topic subscriptions is selected for Notification Recipient. You can select an existing template or create a new one.

      Notification Window

      This parameter is only available if Notification groups or Topic subscriptions is selected for Notification Recipient.

      Specifies the time window during which Cloud Eye sends notifications.

      If Notification Window is set to 08:00-20:00, Cloud Eye sends notifications only within this window.

      Trigger Condition

      This parameter is only available if Notification groups or Topic subscriptions is selected for Notification Recipient.

      Specifies the condition that will trigger an alarm notification. You can select Generated alarm (when an alarm is generated), Cleared alarm (when an alarm is cleared), or both.

      NOTE:

      When the alarm type is Event, you can only select Generated alarm for Trigger Condition.

    4. Select an enterprise project and set Tag.
      Figure 4 Advanced Settings
      Table 4 Enterprise Project and Tag

      Parameter

      Description

      Enterprise Project

      Specifies the enterprise project that the alarm rule belongs to. Only users who have all permissions for the enterprise project can manage the alarm rules. For details about how to create an enterprise project, see Creating an Enterprise Project.

      Tag

      Specifies a key-value pair. Tags identify cloud resources so that you can easily categorize and search for your resources. You are advised to create predefined tags in TMS. For details, see Creating Predefined Tags.

      If your organization has configured tag policies for Cloud Eye, follow the policies when configure Tag for an alarm rule. If you add a tag that does not comply with the tag policies, alarm rules may fail to be created. Contact your administrator to learn more about tag policies.

      • A key can contain up to 128 characters, and a value can contain up to 225 characters.
      • You can create up to 20 tags.
    5. Click Create.

After the alarm rule is created, if the metric data reaches the specified threshold, Cloud Eye immediately informs you that an exception has occurred.

Utilizamos cookies para mejorar nuestro sitio y tu experiencia. Al continuar navegando en nuestro sitio, tú aceptas nuestra política de cookies. Descubre más

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback