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/ API Reference (Ankara Region)/ Appendix/ ECS Metrics Under OS Monitoring (Agent Installed)

ECS Metrics Under OS Monitoring (Agent Installed)

Updated on 2024-04-18 GMT+08:00

Prerequisites

The Agent has been installed and is running properly.

Function

This topic describes OS metrics reported by the ECS plug-in to Cloud Eye as well as their namespaces and dimensions. You can use APIs provided by Cloud Eye to query the metrics and alarms generated by the ECS plug-in.

Namespace

AGT.ECS

Metrics

Metric

Name

Description

Collection Mode (Linux)

Collection Mode (Windows)

cpu_usage_idle

(Agent) Idle CPU Usage

Percentage of time that CPU is idle

Unit: Percent

Monitored object: ECS

Check the metric value changes in file /proc/stat in a collection period.

Run the top command to check the %Cpu(s) id value.

Monitored object: ECS

Obtain its value by invoking WindowsAPI GetSystemTimes.

cpu_usage_other

(Agent) Other Process CPU Usage

Percentage of time that the CPU is used by other processes

Unit: Percent

Monitored object: ECS

Other Process CPU Usage = 1- Idle CPU Usage - Kernel Space CPU Usage - User Space CPU Usage

Monitored object: ECS

Other Process CPU Usage = 1- Idle CPU Usage - Kernel Space CPU Usage - User Space CPU Usage

cpu_usage_system

(Agent) Kernel Space CPU Usage

Percentage of time that the CPU is used by kernel space

Unit: Percent

Monitored object: ECS

Check the metric value changes in file /proc/stat in a collection period.

Run the top command to check the %Cpu(s) sy value.

Monitored object: ECS

Obtain its value by invoking WindowsAPI GetSystemTimes.

cpu_usage_user

(Agent) User Space CPU Usage

Percentage of time that the CPU is used by user space

Unit: Percent

Monitored object: ECS

Check the metric value changes in file /proc/stat in a collection period.

Run the top command to check the %Cpu(s) us value.

Monitored object: ECS

Obtain its value by invoking WindowsAPI GetSystemTimes.

cpu_usage

(Agent) CPU Usage

CPU usage of the monitored object

Unit: Percent

Monitored object: ECS

Check the metric value changes in file /proc/stat in a collection period.

Run the top command to check the %Cpu(s) value.

Monitored object: ECS

Obtain its value by invoking WindowsAPI GetSystemTimes.

cpu_usage_nice

(Agent) Nice Process CPU Usage

Percentage of time during which the CPU runs in user mode with low-priority processes that can easily be interrupted by higher-priority processes

Unit: Percent

Monitored object: ECS

Check the metric value changes in file /proc/stat in a collection period.

Run the top command to check the %Cpu(s) ni value.

Not supported

cpu_usage_iowait

(Agent) iowait Process CPU Usage

Percentage of time during which the CPU is waiting for I/O operations to complete

Unit: Percent

Monitored object: ECS

Check the metric value changes in file /proc/stat in a collection period.

Run the top command to check the %Cpu(s) wa value.

Not supported

cpu_usage_irq

(Agent) CPU Interrupt Time

Percentage of time that the CPU is servicing interrupts

Unit: Percent

Monitored object: ECS

Check the metric value changes in file /proc/stat in a collection period.

Run the top command to check the %Cpu(s) hi value.

Not supported

cpu_usage_softirq

(Agent) CPU Software Interrupt Time

Percentage of time that the CPU is servicing software interrupts

Unit: Percent

Monitored object: ECS

Check the metric value changes in file /proc/stat in a collection period.

Run the top command to check the %Cpu(s) si value.

Not supported

load_average1

(Agent) 1-Minute Load Average

CPU load averaged from the last 1 minute

Monitored object: ECS

Obtain its value by using the load1/ value to divide the number of logical CPUs.

Run the top command to check the load1 value in the /proc/loadavg file.

Not supported

load_average5

(Agent) 5-Minute Load Average

CPU load averaged from the last 5 minutes

Monitored object: ECS

Obtain its value by using the load5/ value to divide the number of logical CPUs.

Run the top command to check the load5 value in the /proc/loadavg file.

Not supported

load_average15

(Agent) 15-Minute Load Average

CPU load averaged from the last 15 minutes

Monitored object: ECS

Obtain its value by using the load15/ value to divide the number of logical CPUs.

Run the top command to check the load15 value in the /proc/loadavg file.

Not supported

mem_available

(Agent) Available Memory

Available memory size of the monitored object

Unit: GB

Monitored object: ECS

Obtain the MemAvailable value by checking file /proc/meminfo. If it is not displayed in the file,

MemAvailable = MemFree + Buffers+Cached

Monitored object: ECS

Available Memory = Total memory - Used memory. Obtain its value by invoking WindowsAPI GlobalMemoryStatusEx.

mem_usedPercent

(Agent) Memory Usage

Memory usage of the monitored object

Unit: Percent

Monitored object: ECS

Check file /proc/meminfo. AGT. Memory Usage = (MemTotal-MemAvailable)/MemTotal

Monitored object: ECS

Memory Usage = Used memory/Total memory *100%

mem_free

(Agent) Idle Memory

Amount of memory that is not being used

Unit: GB

Monitored object: ECS

Obtain its value by checking file /proc/meminfo.

Not supported

mem_buffers

(Agent) Buffer

Memory that is being used for buffers

Unit: GB

Monitored object: ECS

Obtain its value by checking file /proc/meminfo.

Run the top command to check the KiB Mem:buffers value.

Not supported

mem_cached

(Agent) Cache

Memory that is being used for file caches

Unit: GB

Monitored object: ECS

Obtain its value by checking file /proc/meminfo.

Run the top command to check the KiB Swap:cached Mem value.

Not supported

mountPointPrefix_disk_free

(Agent) Available Disk Space

Available disk space of the monitored object

Unit: GB

Monitored object: ECS

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

Run the df -h command to check data in the Avail column.

Monitored object: ECS

Use the WMI interface to invoke GetDiskFreeSpaceExW to obtain disk space data.

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

mountPointPrefix_disk_total

(Agent) Disk Storage Capacity

Disk storage capacity of the monitored object

Unit: GB

Monitored object: ECS

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

Run the df -h command to check data in the Size column.

Monitored object: ECS

Use the WMI interface to invoke GetDiskFreeSpaceExW to obtain disk space data.

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

mountPointPrefix_disk_used

(Agent) Used Disk Space

Used disk space of the monitored object

Unit: GB

Monitored object: ECS

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

Run the df -h command to check data in the Used column.

Monitored object: ECS

Use the WMI interface to invoke GetDiskFreeSpaceExW to obtain disk space data.

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

mountPointPrefix_disk_usedPercent

(Agent) Disk I/O Usage

Disk usage of the monitored object

Unit: Percent

Monitored object: ECS

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

AGT. Disk Usage = AGT. Used Disk Space/AGT. Disk Storage Capacity

Monitored object: ECS

Use the WMI interface to invoke GetDiskFreeSpaceExW to obtain disk space data.

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

disk_queue_length

(Agent) Disk Queue Length

Average number of read or write requests queued up for completion for the monitored disk in the monitoring period

Unit: Count

Monitored object: ECS

The average disk queue length is calculated by calculating the data changes in the fourteenth column of the corresponding device in file /proc/diskstats in a collection period.

The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

Not supported

disk_write_bytes_per_operation

(Agent) Average Disk Write Size

Average number of bytes in an I/O write for the monitored disk in the monitoring period

Unit: KB/op

Monitored object: ECS

The average disk write size is calculated by using the data changes in the tenth column of the corresponding device to divide that of the eighth column in file /proc/diskstats in a collection period.

The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

disk_read_bytes_per_operation

(Agent) Average Disk Read Size

Average number of bytes in an I/O read for the monitored disk in the monitoring period

Unit: KB/op

Monitored object: ECS

The average disk read size is calculated by using the data changes in the sixth column of the corresponding device to divide that of the fourth column in file /proc/diskstats in a collection period.

The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

disk_io_svctm

(Agent) Disk I/O Service Time

Average time in an I/O read or write for the monitored disk in the monitoring period

Unit: ms/op

Monitored object: ECS

The average disk I/O service time is calculated by using the data changes in the thirteenth column of the corresponding device to divide the sum of data changes in the fourth and eighth columns in file /proc/diskstats in a collection period.

The path of the mount point prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

disk_inodesTotal

(Agent) Disk inode Total

Total number of index nodes on the disk

Monitored object: ECS

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

Run the df -i command to check data in the Inodes column.

Not supported

disk_inodesUsed

(Agent) Total inode Used

Number of used index nodes on the disk

Monitored object: ECS

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

Run the df -i command to check data in the IUsed column.

Not supported

mountPointPrefix_disk_inodesUsedPercent

(Agent) Percentage of Total inode Used

Ratio of used index nodes to the total index nodes on the disk

Unit: Percent

Monitored object: ECS

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

Run the df -i command to check data in the IUse% column.

Not supported

mountPointPrefix_disk_agt_read_bytes_rate

(Agent) Disks Read Rate

Number of bytes read from the monitored object per second

Unit: byte/s

Monitored object: ECS

The disks read rate is calculated by calculating the data changes in the sixth column of the corresponding device in file /proc/diskstats in a collection period.

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

Monitored object: ECS

Use the Win32_PerfFormattedData_PerfDisk_LogicalDisk object in WMI to obtain the disk I/O data.

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

mountPointPrefix_disk_agt_read_requests_rate

(Agent) Disks Read Requests

Number of read requests sent to the monitored object per second

Unit: Request/s

Monitored object: ECS

The disks read requests are calculated by calculating the data changes in the fourth column of the corresponding device in file /proc/diskstats in a collection period.

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

Monitored object: ECS

Use the Win32_PerfFormattedData_PerfDisk_LogicalDisk object in WMI to obtain the disk I/O data.

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

mountPointPrefix_disk_agt_write_bytes_rate

(Agent) Disks Write Rate

Number of bytes written to the monitored disk per second

Unit: byte/s

Monitored object: ECS

The disks write rate is calculated by calculating the data changes in the tenth column of the corresponding device in file /proc/diskstats in a collection period.

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

Monitored object: ECS

Use the Win32_PerfFormattedData_PerfDisk_LogicalDisk object in WMI to obtain the disk I/O data.

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

mountPointPrefix_disk_agt_write_requests_rate

(Agent) Disks Write Requests

Number of write requests sent to the monitored disk per second

Unit: Request/s

Monitored object: ECS

The disks write requests are calculated by calculating the data changes in the eighth column of the corresponding device in file /proc/diskstats in a collection period.

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

Monitored object: ECS

Use the Win32_PerfFormattedData_PerfDisk_LogicalDisk object in WMI to obtain the disk I/O data.

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

disk_readTime

(Agent) Average Read Request Time

Average amount of time that read requests have waited on the disks

Unit: ms/count

Monitored object: ECS

The average read request time is calculated by calculating the data changes in the seventh column of the corresponding device in file /proc/diskstats in a collection period.

Monitored object: ECS

Use the Win32_PerfFormattedData_PerfDisk_LogicalDisk object in WMI to obtain the disk I/O data.

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

disk_writeTime

(Agent) Average Write Request Time

Average amount of time that write requests have waited on the disks

Unit: ms/count

Monitored object: ECS

The average write request time is calculated by calculating the data changes in the eleventh column of the corresponding device in file /proc/diskstats in a collection period.

Monitored object: ECS

Use the Win32_PerfFormattedData_PerfDisk_LogicalDisk object in WMI to obtain the disk I/O data.

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

mountPointPrefix_disk_ioUtils

(Agent) Disk I/O Usage

Percentage of the time that the disk has had I/O requests queued to the total disk operation time

Unit: Percent

Monitored object: ECS

The disk I/O usage is obtained by calculating the data changes in the thirteenth column of the corresponding device in file /proc/diskstats in a collection period.

Monitored object: ECS

Use the Win32_PerfFormattedData_PerfDisk_LogicalDisk object in WMI to obtain the disk I/O data.

mountPointPrefix is the prefix of the mount point. / in the path is replaced by the word SlAsH. The new path can contain a maximum of 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), periods (.), and swung dashes (~).

disk_fs_rwstate

(Agent) File System Read/Write Status

Read and write status of the mounted file system of the monitored object Possible statuses are 0 (read and write) and 1 (read only).

Monitored object: ECS

Check file system information in the fourth column in file /proc/mounts.

Not supported

net_bitSent

(Agent) Inbound Bandwidth

Number of bits sent by this NIC per second

Unit: bit/s

Monitored object: ECS

Check the metric value changes in file /proc/net/dev in a collection period.

Monitored object: ECS

Use the MibIfRow object in WMI to obtain the network metric data.

net_bitRecv

(Agent) Outbound Bandwidth

Number of bits received by this NIC per second

Unit: bit/s

net_packetRecv

(Agent) NIC Packet Receive Rate

Number of packets received by this NIC per second

Unit: Count/s

net_packetSent

(Agent) NIC Packet Send Rate

Number of packets sent by this NIC per second

Unit: Count/s

net_tcp_total

(Agent) TCP TOTAL

Total number of TCP connections of the target NIC

net_tcp_established

(Agent) TCP ESTABLISHED

Number of ESTABLISHED TCP connections of the target NIC

net_errin

(Agent) Receive Error Rate

Percentage of receive errors detected by this NIC per second

Unit: Percent

Monitored object: ECS

Check the metric value changes in file /proc/net/dev in a collection period.

Not supported

net_errout

(Agent) Transmit Error Rate

Percentage of transmit errors detected by this NIC per second

Unit: Percent

net_dropin

(Agent) Received Packet Drop Rate

Percentage of packets discarded by this NIC to the total number of packets received by the NIC per second

Unit: Percent

net_dropout

(Agent) Transmitted Packet Drop Rate

Percentage of packets transmitted by this NIC which were dropped per second

Unit: Percent

Dimension

Key

Value

instance_id

ECS ID

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