Help Center> Elastic Cloud Server> User Guide> Monitoring> OS Monitoring Metrics Supported by ECSs with the Agent Installed and Using Simplified Monitoring Metrics
Updated on 2023-09-28 GMT+08:00

OS Monitoring Metrics Supported by ECSs with the Agent Installed and Using Simplified Monitoring Metrics

Description

This section describes the OS metrics supported by ECSs. 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-Hong Kong, AP-Bangkok, AP-Singapore, and AF-Johannesburg.

After installing the agent on an ECS, you can view its OS monitoring metrics. Monitoring data is collected every 1 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 metric value changes in 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

ECS

1 minute

load_average5

(Agent) 5-Minute Load Average

CPU load averaged from the last 5 minutes

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

≥ 0

ECS

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

ECS

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

ECS

1 minute

mountPointPrefix_disk_usedPercent

(Agent) Disk Usage

Percentage of total disk space that is used

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

ECS

1 minute

mountPointPrefix_disk_ioUtils and volumePrefix_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

ECS

1 minute

mountPointPrefix_disk_inodesUsedPercen

(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

ECS

1 minute

net_bitSent

(Agent) Inbound Bandwidth

Number of bits received by the monitored object 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

ECS

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 file /proc/net/dev in a collection period.
  • Windows: Obtain the metric value using the WMI MibIfRow object.

≥ 0

ECS

1 minute

net_packetRecv

(Agent) NIC Packet Receive Rate

Number of packets received by this NIC per second

Unit: count/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

ECS

1 minute

net_packetSent

(Agent) NIC Packet Send Rate

Number of packets sent by this NIC per second

Unit: count/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

ECS

1 minute

net_tcp_total

(Agent) Total Number of TCP Connections

Total number of TCP connections of this NIC

≥ 0

ECS

1 minute

net_tcp_established

(Agent) Number of ESTABLISHED TCP Connections

Number of ESTABLISHED TCP connections of this NIC

≥ 0

ECS

1 minute

Dimensions

Key

Value

instance_id

Specifies the ECS ID.