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
Help Center/ Cloud Eye/ Best Practices/ Resource Group Monitoring

Resource Group Monitoring

Updated on 2022-06-23 GMT+08:00

Scenarios

Cloud Eye provides the resource group and alarm functions. How to effectively group and monitor resources and receive alarm notifications of the resources in different groups?

This section will give the answer.

Assume that there are four ECSs, namely ECS-01, ECS-02, ECS-03, and ECS-04. ECS-01 and ECS-02 are used by the development team. ECS-03 and ECS-04 are used by the test team. You need to obtain the running status of the two ECSs in the development team in a timely manner, including their CPU usage, idle CPU usage, average load, I/O usage, disk usage, memory usage, and percentage of total inode used.

Table 1 ECS list and group planning

ECS Name

Group

Whether to Install the Agent

Department

ECS-01

Development team resources

Yes

Development team

ECS-02

Development team resources

Yes

Development team

ECS-03

N/A

No

Test team

ECS-04

N/A

No

Test team

Prerequisites

The Agent has been installed on ECS-01 and ECS-02. For details, see Agent Installation and Configuration.

Step 1 Creating a Resource Group

  1. Log in to the management console.
  2. In the upper left corner, select a region and a project.
  3. Choose Service List > Cloud Eye.
  4. In the navigation pane on the left, choose Resource Groups.
  5. In the upper right corner, click Create Resource Group.
  6. Enter the group name as prompted. In this example, enter Development-group-resources.
  7. Select the target cloud service resources.
    Figure 1 Selecting cloud service resources
  8. Click Create.

Step 2 Creating a Topic and Configuring the Notification Object

When resource exceptions occur, an alarm notification can be sent to the configured topic subscribers.

  1. Log in to the management console.
  2. In the upper left corner, select a region and a project.
  3. Under Application, select Simple Message Notification.

    The SMN console is displayed.

  4. In the navigation pane on the left, choose Topic Management > Topics.

    The Topics page is displayed.

  5. In the upper right corner, click Create Topic.

    The Create Topic dialog box is displayed.

    Figure 2 Create Topic
  6. Enter a topic name and display name.
  7. Click OK.

    The topic you created is displayed in the topic list.

    NOTE:

    Click the topic name to view the topic details and the total number of topic subscriptions.

  8. In the topic list, locate the new topic. In the Operation column, click More and select Add Subscription.
    Figure 3 Add Subscription
  9. Specify the subscription protocol and endpoints.
  10. Click OK.

    The subscriptions you added are displayed in the subscription list.

Step 3 Creating an Alarm Rule

  1. Log in to the management console.
  2. In the upper left corner, select a region and a project.
  3. Choose Service List > Cloud Eye.
  4. In the navigation pane on the left, choose Alarm Management > Alarm Rules.
  5. In the upper right corner, click Create Alarm Rule.
  6. On the Create Alarm Rule page, follow the prompts to set the parameters.
    1. Set the alarm rule name.
      Figure 4 Setting an alarm rule name
    2. Set the monitored object and alarm triggering conditions.
      Figure 5 Configuring an alarm rule

      NOTE:

      Set Group to Development group resources created in Step 1 Creating a Resource Group.

    3. Set Alarm Notification parameters.
      Figure 6 Configuring alarm notification

      NOTE:

      Note: When configuring Notification Object, select Mytopic created in Step 2 Creating a Topic and Configuring the Notification Object.

    4. Click Create.

After the alarm rule is added, if the metric data reaches the threshold, Cloud Eye immediately informs you that the metric data of group Development group resources (ECS-01 and ECS-02) is abnormal through SMN.

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