# Basic ECS Metrics

#### Description

This section describes monitoring metrics reported by ECS to Cloud Eye. You can use Cloud Eye to view these metrics and alarms generated for ECSs.

#### Namespace

SYS.ECS

#### ECS Metrics

ECS metrics vary depending on ECS OSs and types. For details, see Table 1. √ indicates that the metric is supported, and x indicates that the metric is not supported.

Table 1 ECS metrics
Metric | Windows | Linux
--- | --- | ---
CPU Usage | Supported | Supported
Memory Usage | Supported | Not supported
Disk Usage | Supported | Not supported
Disk Read Bandwidth | Supported | Supported
Disk Write Bandwidth | Supported | Supported
Disk Read IOPS | Supported | Supported
Disk Write IOPS | Supported | Supported
Inband Incoming Rate | Supported | Not supported
Inband Outgoing Rate | Supported | Not supported
Outband Incoming Rate | Supported | Supported
Outband Outgoing Rate | Supported | Supported
InfiniBand NIC Status | Supported (Only for H2 ECSs) | Supported (Only for H2 ECSs)

The image based on which the target ECS is created must have OTC Tools installed (OTC Tools has been installed for public images by default). Otherwise, the Memory Usage and Disk Usage metrics are unavailable. For details about how to install the OTC Tools, visit https://github.com/UVP-Tools/UVP-Tools/.

Table 2 describes these ECS metrics.

The monitoring intervals for the following ECSs with raw monitoring metrics are as follows:

- KVM ECS: 5 minutes

Table 2 Metric description
Metric | Parameter | Description | Value Range | Monitored Object | Monitoring Interval (Raw Metrics and KVM Only)
--- | --- | --- | --- | --- | ---
cpu_util | CPU Usage | CPU usage of an ECS Unit: Percent Formula: CPU usage of an ECS/Number of vCPUs in the ECS | ≥ 0 | ECS | 5 minutes
mem_util | Memory Usage | Memory usage of an ECS This metric is unavailable if the image has no OTC Tools installed. Unit: Percent Formula: Used memory of an ECS/Total memory of the ECS | ≥ 0 | ECS | 5 minutes
disk_util_inband | Disk Usage | Disk usage of an ECS This metric is unavailable if the image has no OTC Tools installed. Unit: Percent Formula: Used capacity of an ECS disk/Total capacity of the ECS disk | ≥ 0 | ECS | 5 minutes
disk_read_bytes_rate | Disk Read Bandwidth | Number of bytes read from an ECS disk per second Unit: byte/s Formula: Total number of bytes read from an ECS disk/Monitoring interval byte_out = (rd_bytes - last_rd_bytes)/Time difference | ≥ 0 | ECS | 5 minutes
disk_write_bytes_rate | Disk Write Bandwidth | Number of bytes written to an ECS disk per second Unit: byte/s Formula: Total number of bytes written to an ECS disk/Monitoring interval | ≥ 0 | ECS | 5 minutes
disk_read_requests_rate | Disk Read IOPS | Number of read requests sent to an ECS disk per second Unit: request/s Formula: Total number of read requests sent to an ECS disk/Monitoring interval req_out = (rd_req - last_rd_req)/Time difference | ≥ 0 | ECS | 5 minutes
disk_write_requests_rate | Disk Write IOPS | Number of write requests sent to an ECS disk per second Unit: request/s Formula: Total number of write requests sent to an ECS disk/Monitoring interval req_in = (wr_req - last_wr_req)/Time difference | ≥ 0 | ECS | 5 minutes
network_incoming_bytes_rate_inband | Inband Incoming Rate | Number of incoming bytes on an ECS per second Unit: byte/s Formula: Total number of inband incoming bytes on an ECS/Monitoring interval | ≥ 0 | ECS | 5 minutes
network_outgoing_bytes_rate_inband | Inband Outgoing Rate | Number of outgoing bytes on an ECS per second Unit: byte/s Formula: Total number of inband outgoing bytes on an ECS/Monitoring interval | ≥ 0 | ECS | 5 minutes
network_incoming_bytes_aggregate_rate | Outband Incoming Rate | Number of incoming bytes on an ECS per second on the hypervisor Unit: byte/s Formula: Total number of outband incoming bytes on an ECS/Monitoring interval This metric is unavailable if SR-IOV is enabled. | ≥ 0 | ECS | 5 minutes
network_outgoing_bytes_aggregate_rate | Outband Outgoing Rate | Number of outgoing bytes on an ECS per second on the hypervisor Unit: byte/s Formula: Total number of outband outgoing bytes on an ECS/Monitoring interval This metric is unavailable if SR-IOV is enabled. | ≥ 0 | ECS | 5 minutes

ib_card_state

InfiniBand NIC status

Status of an InfiniBand NIC on an H2 ECS

The system periodically checks the status and returns check results using value 0 or 1.

- 0: The system is running properly. That is, the InfiniBand NIC is functional.
- 1: The system is not running properly. That is, the InfiniBand NIC malfunctions. When the physical NIC corresponding to a virtual NIC becomes faulty, for example, the network cable is not securely connected to the NIC, the switch or adapter is incompatible with the InfiniBand NIC, or the NIC is disabled, the returned value is 1.

NOTE:

Only Mellanox EDR 100 GB single-port InfiniBand NICs are supported.

0 or 1

ECS

5 minutes

#### Dimensions

Key | Value
--- | ---
instance_id | Specifies the ECS ID.

Parent topic: Monitoring