After you create resources such as hosts, applications, components, and processes, the ICAgent reports their monitoring data every 10 minutes. Only when a report period ends, can monitoring data be displayed on the AOM page.
After you delete a resource such as a host or workload from a Cloud Container Engine (CCE) cluster, the resource status is still Normal on the Host Monitoring or Container Monitoring page of AOM. This is normal. The status of the deleted resource will be changed to Deleted 30 minutes later.
In the custom cluster scenario, if the ICAgent fails to be upgraded, log in to the VM node and directly run the ICAgent installation command again.
Because the ICAgent supports overwriting installation, directly reinstall the ICAgent without uninstallation.
If you specify a directory, all .log, .trace, and .out log files in this directory are collected by default. If you specify a log file, only this file is collected. The specified file must be a text file. Other types of log files, such as binary log files, cannot be collected.
Resource consumption: The resource consumption of the ICAgent is related to the number of containers and processes. In normal service traffic, the ICAgent consumes about 30 MB memory and 3% single-core CPU.
Usage restriction: Ensure that the number of containers running on a single node is less than 1000.
Min {4 GB, node physical memory/2} indicates the smaller value between 4 GB and node physical memory/2.
Resource consumption: The resource consumption of the ICAgent is closely related to the log volume, number of files, network bandwidth, and backend service processing capability.
By default, AOM traverses all NICs on the VM and obtains the IP addresses of the Ethernet, bond, and wireless NICs based on priorities in descending order. To ensure that AOM obtains the IP address of a specific NIC, set the IC_NET_CARD=Desired NIC name environment variable when starting the ICAgent.
Example:
bash mstop.sh
bash mstart.sh
Symptom: The ICAgent fails to be installed in the Windows environment and the "SERVICE STOP" message is displayed. No ICAgent task exists in the task manager. No ICAgent service exists in the system service list. When the sc query icagent command is executed, a message is displayed, indicating that no ICAgent is found.
Cause: Antivirus software, such as 360 Total Security, blocks registration of the ICAgent service.
Solution:
In the Windows environment, manually add log collection paths. The ICAgent can collect .log, .trace, and .out files, but does not collect binary files or Windows system logs.
The AK/SK is incorrect, or no agency is set when Installation Mode is set to Create Agency. Perform operations according to and install the ICAgent again.