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

Configuring Alarm Rules

Updated on 2024-08-03 GMT+08:00

Scenarios

Setting alarm rules allows you to customize objects to be monitored and notification policies so that you can closely monitor your instances.

Alarm rules include the alarm rule name, instance, metric, threshold, monitoring interval, and whether to send notifications. This section describes how to set alarm rules.

Procedure

  1. Log in to the management console.
  2. Click Service List. Under Management & Governance, click Cloud Eye.
  3. In the navigation pane on the left, choose Alarm Management > Alarm Rules.
  4. On the Alarm Rules page, click Create Alarm Rule.

    Figure 1 Creating an alarm rule

  5. Set alarm parameters.

    1. Configure basic alarm information.
      Figure 2 Configuring basic information for an alarm rule
      Table 1 Basic alarm rule information

      Parameter

      Description

      Example Value

      Name

      Name of the rule. The system generates a random name and you can modify it.

      alarm-cag2

      Description

      (Optional) Alarm rule description.

      -

    2. Select objects to be monitored and specify the monitoring scope.
      Table 2 Parameter description

      Parameter

      Description

      Example Value

      Alarm Type

      Alarm type that the alarm rule is created for. The value can be Metric or Event.

      Metric

      Resource Type

      Type of the resource the alarm rule is created for.

      Select GeminiDB.

      -

      Dimension

      Metric dimension of the alarm rule.

      Select MongoDB-MongoDB node.

      -

      Monitoring Scope

      Monitoring scope the alarm rule applies to.

      NOTE:
      • If you select All resources, an alarm notification will be sent when any instance meets an alarm policy, and existing alarm rules will be automatically applied for newly purchased resources.
      • If you select Resource groups and any resource in the group meets the alarm policy, an alarm notification will be sent.
      • To specify Specific resources, click Select Specified Resources, select one or more resources, and click OK.

      All Resources

      Group

      This parameter is mandatory when Monitoring Scope is set to Resource groups.

      -

    3. Configure an alarm policy.
      Figure 3 Configuring the alarm policy
      Table 3 Parameter description

      Parameter

      Description

      Example Value

      Method

      Select Associate template, Use existing template, or Configure manually.

      NOTE:

      If you set Monitoring Scope to Specific resources, you can set Method to Use existing template.

      Configure manually

      Template

      Select the template to be used.

      This parameter is available only when you set Method to Use existing template.

      -

      Alarm Policy

      Policy for triggering an alarm. You can configure the threshold, consecutive periods, alarm interval, and alarm severity based on service requirements.

      • Metric Name: specifies the the metric that the alarm rule is created for.

        The following metrics are recommended:

        Storage Space Usage,

        which is used to monitor the storage usage of GeminiDB Cassandra instances. If the storage usage is greater than 80%, scale up the storage in a timely manner by referring to Scaling Up Storage Space.

        CPU Usage and Memory Usage,

        which are used to monitor the compute resource usage of each GeminiDB Cassandra instance node. If the CPU usage or memory usage is greater than 80%, you can add nodes or upgrade node specifications in a timely manner.

        For more metrics, see GeminiDB Mongo Metrics.

      • Alarm Severity: specifies the severity of the alarm. Valid values are Critical, Major, Minor, and Informational.
        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 is triggered.

      Take the CPU usage as an example. The alarm policy configured in Figure 3 indicates that a major alarm will be sent to users every 10 minutes if the original CPU usage reaches 80% or above for three consecutive periods.

    4. Configure alarm notification information.
      Figure 4 Configuring alarm notification information
      Table 4 Parameter description

      Parameter

      Description

      Example Value

      Alarm Notification

      Whether to notify users when alarms are triggered. Notifications can be sent by email, text message, or HTTP/HTTPS message.

      Enabling alarm notification is recommended. When the metric data reaches the threshold set in the alarm rule, Cloud Eye immediately notifies you through SMN that an exception has occurred.

      Enabled Alarm Notification.

      Notification Recipient

      Select Notification group or Topic subscription.

      -

      Notification Group

      Notification group the alarm notification is to be sent to.

      -

      Notification Object

      Specifies the object that receives alarm notifications. You can select the account contact or a topic.

      • Account contact is the mobile phone number and email address provided for registration.
      • 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 Window

      Cloud Eye sends notifications only within the notification window specified in the alarm rule.

      For example, if Notification Window is set to 00:00-8:00, Cloud Eye sends notifications only within 00:00-08:00.

      -

      Trigger Condition

      Condition for triggering an alarm notification. You can select Generated alarm (when an alarm is generated), Cleared alarm (when an alarm is cleared), or both.

      -

    5. Configure advanced settings.
      Figure 5 Advanced settings
      Table 5 Parameter description

      Parameter

      Description

      Example Value

      Enterprise Project

      Enterprise project that the alarm rule belongs to. Only users with the enterprise project permissions can view and manage the alarm rule. For details about how to create an enterprise project, see Creating an Enterprise Project.

      default

      Tag

      A tag is 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 on TMS. For details about how to create predefined tags, see Creating Predefined Tags.

      • A key can contain a maximum of 128 characters, and a value can contain a maximum of 225 characters.
      • A maximum of 20 tags can be added.

      -

  6. After the configuration is complete, click Create.

    When the metric data reaches the threshold set in the alarm rule, Cloud Eye immediately notifies you through SMN that an exception has occurred.

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