Help Center> Huawei Cloud Flexus> User Guide> Monitoring> OS Monitoring Metrics Supported by HECSs with the New Edition of Agent Installed

OS Monitoring Metrics Supported by HECSs with the New Edition of Agent Installed

Description

This section describes the OS metrics supported by HECSs. In the following regions, the agent of the latest version is used with simplified monitoring metrics.

CN East-Shanghai1, CN East-Shanghai2, CN North-Beijing1, CN North-Beijing4, CN South-Guangzhou, CN South-Shenzhen, and CN Southwest-Guiyang1

After installing the Agent on an HECS, you can view its OS monitoring metrics. Monitoring data is collected every minute.

OS Monitoring Metrics

Table 1 OS monitoring metrics

Metric

Parameter

Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

cpu_usage

(Agent) CPU Usage

CPU usage of the monitored object

Unit: percent

  • Linux: Check the metric value changes in the file /proc/stat in a collection period. Run the top command to check the %Cpu(s) value.
  • Windows: Obtain the metric value using the Windows API GetSystemTimes.

0–100%

HECS

1 minute

load_average5

(Agent) 5-Minute Load Average

CPU load averaged over the last 5 minutes

  • Linux: Obtain the metric value from the number of logic CPUs in load5/ in the file /proc/loadavg. Run the top command to check the load5 value.
  • The Windows OS does not support the CPU load metrics.

≥ 0

HECS

1 minute

mem_usedPercent

(Agent) Memory Usage

Memory usage of the monitored object

Unit: percent

  • Linux: Obtain the metric value from the /proc/meminfo file (MemTotal-MemAvailable)/MemTotal.
  • Windows: Obtain the value using the following formula: Used memory size/Total memory size x 100%.

0–100%

HECS

1 minute

mountPointPrefix_disk_free

(Agent) Available Disk Space

Free disk space

Unit: GB

  • Linux: Run the df -h command to check the value in the Avail column. The path of the device name prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), dots (.), and swung dashes (~).
  • Windows: Obtain the metric value using the WMI API GetDiskFreeSpaceExW. The path of the device name prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), dots (.), and swung dashes (~).

≥ 0 GB

HECS

1 minute

mountPointPrefix_disk_usedPercent

(Agent) Disk Usage

Percentage of total disk space that is used. It is calculated as follows: Disk Usage = Used Disk Space/Disk Storage Capacity.

Unit: percent

  • Linux: Obtain the metric value using following formula: Disk Usage = Used Disk Space/Disk Storage Capacity. The path of the device name prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), dots (.), and swung dashes (~).
  • Windows: Obtain the metric value using the WMI API GetDiskFreeSpaceExW. The path of the device name prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), dots (.), and swung dashes (~).

0–100%

HECS

1 minute

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

  • Linux:

    Obtain the metric value by calculating the data changes in the thirteenth column of the monitored object in file /proc/diskstats in a collection period.

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

  • Windows does not support this metric.

0–100%

HECS

1 minute

disk_inodesUsedPercent

(Agent) Percentage of Total inode Used

Number of used index nodes on the disk

Unit: percent

  • Linux: Run the df -i command to check the value in the IUse% column. The path of the device name prefix cannot exceed 64 characters. It must start with a letter, and contain only digits, letters, hyphens (-), dots (.), and swung dashes (~).
  • Windows does not support this metric.

0–100%

HECS

1 minute

net_bitSent

(Agent) Inbound Bandwidth

Number of bits received by the target NIC per second

Unit: bit/s

  • Linux: Check metric value changes in file /proc/net/dev in a collection period.
  • Windows: Obtain the metric value using the WMI MibIfRow object.

≥ 0

HECS

1 minute

net_bitRecv

(Agent) Outbound Bandwidth

Number of bits sent by the target NIC per second

Unit: bit/s

  • Linux: Check metric value changes in the file /proc/net/dev in a collection period.
  • Windows: Obtain the metric value using the WMI MibIfRow object.

≥ 0

HECS

1 minute

net_packetRecv

(Agent) NIC Packet Receive Rate

Number of packets received by the target NIC per second

Unit: count/s

  • Linux: Check metric value changes in the file /proc/net/dev in a collection period.
  • Windows: Obtain the metric value using the WMI MibIfRow object.

≥ 0 counts/s

HECS

1 minute

net_packetSent

(Agent) NIC Packet Send Rate

Number of packets sent by the target NIC per second

Unit: count/s

  • Linux: Check metric value changes in the file /proc/net/dev in a collection period.
  • Windows: Obtain the metric value using the WMI MibIfRow object.

≥ 0 counts/s

HECS

1 minute

net_tcp_total

(Agent) TCP TOTAL

Total number of TCP connections of the target NIC

≥ 0

HECS

1 minute

net_tcp_established

(Agent) TCP ESTABLISHED

Number of ESTABLISHED TCP connections of the target NIC

≥ 0

HECS

1 minute

Dimension

Key

Value

instance_id

HECS ID