The CloudMonitor agent reports an error message that indicates a failed heartbeat check if a host failure, a network exception, or the downtime of the agent occurs. In this topic, an Elastic Compute Service (ECS) instance is used as an example to describe how to troubleshoot a failed heartbeat check.
Check whether the ECS instance runs as expected. For more information, see View instance information.
If the ECS instance runs as expected, perform 2.
If you still receive this error message after you start or restart the ECS instance, read the related topics of ECS to check the cause. For more information, see Instance FAQ.
Check whether the CloudMonitor agent that is installed on the ECS instance runs as expected. For more information, see Install and uninstall the CloudMonitor agent for C++.
Ping the IP address that is used by CloudMonitor to receive heartbeat data on the ECS instance and check whether the network connection to the ECS instance is available.
For more information about how to obtain the IP address that is used by CloudMonitor to receive heartbeat data, see Configure network settings.
Collect logs that are stored in the /usr/local/cloudmonitor/local_data/logs directory of the CloudMonitor agent and submit a ticket.