Updated on 2026-11-20 GMT+08:00

Introduction to Server Monitoring

Whether you are using ECSs or BMSs, you can use server monitoring to track various OS metrics, monitor server resource usage, and query monitoring data if a fault occurs.

Server monitoring consists of basic monitoring, process monitoring, and OS monitoring for servers.

  • Basic monitoring covers metrics automatically reported by ECSs. The data is collected every 5 minutes. For details, see Cloud Product Metrics. Basic monitoring is unavailable for BMSs.
  • OS monitoring provides proactive and fine-grained OS monitoring for ECSs or BMSs provided that the Agent is installed. The Agent collects data every minute, including metrics such as CPU usage and memory usage. For more information, see Cloud Product Metrics.
  • Process monitoring allows you to monitor the CPU, memory, and number of opened files of processes.

Constraints

  • Server monitoring is only available for servers using Huawei Cloud public images. Cloud Eye does not provide technical support for server monitoring issues if servers are created from private images.
  • Windows and Linux OSs are supported. For details, see What OSs Does the Agent Support?
  • When installing the Agent, you are advised to use 2 vCPUs and 4 GiB for Linux and 4 vCPUs and 8 GiB for Windows.
  • To install the Agent on a Linux server, you must have the root permissions. For a Windows server, you must have the Administrator permissions.

Monitoring Capabilities

Multiple metrics, such as metrics for CPU, memory, disk, and network usage, will be monitored, meeting the basic monitoring and O&M requirements for servers. For details about metrics, see Cloud Product Metrics.

Impacts on Performance

The Agent uses very few system resources (no more than 10% of a single CPU core and no more than 200 MB memory). Generally, the CPU usage of a single core is less than 5% and the memory usage is less than 100 MB.

In some scenarios, the CPU and memory usage of the Agent may increase sharply due to the running environment. If the CPU usage of a single core exceeds 10% or the memory usage exceeds 200 MB for three consecutive times in three minutes (the Agent checks the usage every minute), the Agent automatically triggers the circuit breaker mechanism to ensure user resources. After the circuit breaker is triggered, the system stops collecting server metrics and attempts to restart the Agent within 5 minutes. If the resource usage exceeds the threshold for a long time, the Agent process may repeatedly stop and start, resulting in unstable running. The following table describes typical scenarios and respective solutions.
Table 1 High Agent resource usage scenarios

Cause

Scenario

Procedure

Too many TCP connections

By default, the Agent collects only three basic metrics: (Agent) Total TCP Connections, (Agent) TCP ESTABLISHED Connections, and (Agent) Total UDP Connections. This saves CPU resources. If you modify the configuration file to enable any detailed TCP metric, all TCP metrics will be collected, significantly increasing CPU resource consumption.

Detailed TCP metrics: See OS Metric: TCP Connections.

Method 1: Modify the configuration file to stop collecting TCP detailed metrics and reduce the CPU usage. For details, see How Do I Enable or Disable Metric Collection by Modifying the Configuration File?

Method 2: Modify the configuration file to change the Agent resource usage threshold. For details, see How Do I Change the Agent Resource Usage Threshold by Modifying the Configuration File?

Too many file handles

While the Agent is running, it monitors all files opened by processes on the server to track and sum the number of file handles. If there are too many file handles, the Agent task will be re-executed, resulting in high CPU usage.

Method 1: Modify the configuration file to reduce the metric update frequency for the Agent process to lower the CPU usage. For details, see How Do I Change the Process Collection Frequency by Modifying the Configuration File?

Method 2: Modify the configuration file to change the Agent resource usage threshold. For details, see How Do I Change the Agent Resource Usage Threshold by Modifying the Configuration File?

Too many processes

When the Agent is running, it scans all processes on the current server and collects process-level metrics by reviewing process information. When there are too many processes, the Agent task is re-executed, leading to high CPU usage.