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 2024-12-26 GMT+08:00

The alarm function is based on collected metrics. You can set alarm rules for key metrics of SFS. When the metric data triggers the conditions set in the alarm rule, Cloud Eye sends emails to you, or sends HTTP/HTTPS requests to the servers. In this way, you are immediately informed of cloud service exceptions and can quickly handle the faults to avoid service losses.

Cloud Eye uses Simple Message Notification (SMN) to notify users. This requires you to create a topic and add relevant subscribers for this topic on the SMN console first. Then when you create alarm rules, you can enable the Alarm Notification function and select the created topic. When an error occurs, Cloud Eye can broadcast alarm information to those subscribers in real time.

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 required parameters.
    1. Configure the basic information of the alarm rule.
      Figure 1 Basic information
      Table 1 Parameter for configuring the basic alarm rule information

      Parameter

      Description

      Example Value

      Name

      Name of the alarm rule. The system generates a name randomly, and you can change it as you want.

      alarm-b6al

      Description

      Description of the alarm rule. This parameter is optional.

      -

    2. Select monitored objects and configure alarm parameters.
      Figure 2 Configuring alarm parameters

      Table 2 Parameters for configuring the alarm content

      Parameter

      Description

      Example Value

      Alarm Type

      Alarm type to which the alarm rule will apply. The type can be Metric or Event.

      Metric

      Cloud Product

      This parameter is only available if you select Metric for Alarm Type. You need to select the cloud product you want to monitor from the drop-down list.

      Scalable File Service Turbo - File systems

      Resource Level

      This parameter only available if you select Metric for Alarm Type. You need to select the resource level of the alarm rule. You can select Cloud product (recommended) or Specific dimension.

      Cloud product

      Monitoring Scope

      This parameter only available if you select Metric for Alarm Type. You need to select the resource scope that the alarm rule will apply. You can select 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 to select resources.
      • 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 to select resources.
      • Specific resources: Click Select Specific Resources to select resources.

      All resources

      Group

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

      -

      Instance

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

      -

      Event Type

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

      System event

      Source

      This parameter is only available if you select Event for Alarm Type.

      • If you select System event for Event Type, select a cloud service from which the event comes.
      • If you select Custom event for Event Type, specify the event source. Ensure that the event source is the same as that of the reported fields and is written in the service.item format.

      -

      Method

      • Configure manually: If you select Event for Alarm Type and Custom Event for Event Type, only Configure manually can be set for Method.
      • Associate template: If you select this option, any modification made to the template will also be synchronized to the policies of the alarm rule that the template is associated.
        NOTE:
        • When Resource Level is set to Cloud product, only modifications made to the policies of the specified cloud product in the associated template will be automatically synchronized.
        • When Resource Level is set to Specific dimension, only modifications made to the policies of the specified dimension in the associated template will be automatically synchronized.

      Configure manually

      Template

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

      You can select a default template or create a custom template.

      -

      Alarm Policy

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

      If you select Custom event for Event Type, as long as an event occurs, an alarm will be triggered. For example, if the operating status is abnormal, an alarm will be triggered.

      NOTE:

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

      -

      Alarm Severity

      Alarm severity, which can be Critical, Major, Minor, or Warning.

      Major

    3. Set Alarm Notification parameters.
      Figure 3 Configuring alarm notifications

      Table 3 Parameters for configuring alarm notifications

      Parameter

      Description

      Alarm Notification

      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 Recipient

      You can select Notification groups or Topic subscriptions.

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

      Notification Policies

      This parameter is only available if you select Notification policies for Notification Recipient. Select one or more notification policies. You can specify the notification group, window, template, and other parameters in a notification policy.

      Notification Group

      This parameter is only available if you select Notification groups for Notification Recipient. Select the notification groups to which alarm notifications will be sent.

      Notification Object

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

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

      Notification Template

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

      Notification Window

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

      Cloud Eye sends notifications only within the notification window you specified.

      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 you select Notification groups or Topic subscriptions for Notification Recipient.

      You can select either Generated alarm or Cleared alarm, or both.

      NOTE:

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

    4. Configure Enterprise Project and Tag.
      Figure 4 Advanced Settings
      Table 4 Advanced settings parameters

      Parameter

      Description

      Enterprise Project

      Enterprise project to which the alarm rule belongs. Only users who have the permissions of the enterprise project can manage this alarm rule. To create an enterprise project, see Creating an Enterprise Project.

      Tag

      Tags are key-value pairs. You can tag cloud resources to easily categorize and search for them. You are advised to create predefined tags in TMS. To create predefined tags, see Creating Predefined Tags.

      If your organization has enabled tag policies and has a Cloud Eye-related tag policy attached, you must comply with the tag policy rules when creating alarm rules, otherwise alarm rules may fail to be created. Contact the organization 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 add 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