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
Help Center/ Cloud Eye/ User Guide/ Event Monitoring/ Creating an Alarm Rule to Monitor an Event

Creating an Alarm Rule to Monitor an Event

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

Scenarios

This topic describes how to create an alarm rule to monitor an event.

Procedure

  1. Log in to the management console.
  2. Choose Service List > Cloud Eye.
  3. In the navigation pane, choose Event Monitoring.
  4. On the event list page, click Create Alarm Rule in the upper right corner.
  5. On the Create Alarm Rule page, configure the parameters.
    1. Configure the alarm rule name and description.
      Table 1 Parameter description

      Parameter

      Description

      Name

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

      Description

      (Optional) Provides supplementary information about the alarm rule.

    2. Select resources and configure other parameters.

      Figure 1 Configuring parameters
      Table 2 Parameter description

      Parameter

      Description

      Alarm Type

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

      Default value: Event

      Event Type

      Specifies the event type, which can be System event or Custom event.

      Event Source

      Specifies the service the event is generated for.

      Example value: Elastic Cloud Server

      For a custom event, set Event Source to the value of event_source.

      Monitoring Scope

      Specifies the monitoring scope for event monitoring.

      Example value: All resources

      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.

      Template

      If Metric is selected for Alarm Type and Associate template is selected for Method, or Event is selected for Alarm Type and System event is selected for Event Type, and Associate template is selected for Method, you need to select a template.

      You can select a default or custom template.

      Event Name

      Specifies the instantaneous operations users performed on resources, such as login and logout.

      For events supported by event monitoring, see Events Supported by Event Monitoring.

      Example value: Delete ECS

      Alarm Policy

      Specifies the policy for triggering an alarm.

      For example, an alarm is triggered if the event occurred for three consecutive periods of 5 minutes.

      NOTE:

      This parameter is mandatory when Triggering Mode is set to Accumulative Trigger.

      Alarm Severity

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

      Example value: Major

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

      Table 3 Parameter description

      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.

        

      The following options are available:

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

      Specifies the notification group that alarm notifications will be sent to. For details about how to create a notification group, see Creating a Notification Object and Notification Group.

      Notification Object

      Specifies the object to which alarm notifications will be sent. You can select the account contact or a topic.
      • Account contact is the phone number and email address of the registered account.
      • Topic: 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.

      Validity Period

      Cloud Eye sends notifications only within the validity period specified in the alarm rule.

      If Validity Period is set to 08:00-20:00, Cloud Eye sends notifications only within 08:00–20:00.

      Trigger Condition

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

    4. Configure the Enterprise Project and Tag.
      Figure 3 Advanced Settings
      Table 4 Parameter description

      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

      A tag consists of a key-value pair. Tags can be used to categorize and search for your resources. You can create tags using 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 the tag configured does not comply with the tag policies, alarm rules may fail to be created. In this case, contact your administrator to learn more about the 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.

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