After completing all steps in the CH agent integration, you may see in the build logs that the agent registration failed, or there are "late checkin" in the console.
Logs:
[2020-04-17 07:05:22 +0000] Agent registration failed
Console:
To see if these errors are extraneous, check the logs on the collectd side. If there are contents in these directories, the integration was successful.
ls -alh /var/lib/chtcollectd/
ls -alh /var/lib/chtcollectd/i-instanceid/
If there were no contents in the collectd logs, go back to the installation page and confirm that your install command is formatted like the example given in the CloudHealth console. Pay very close attention to the API key format.
After checking the logs and the installation command, check to see if the agent services are running.
ps –eaf | grep cht
There should be a chtcollectd and perfmon service running. If these services are not running, restart them with the following commands.
sudo /etc/init.d/cht_perfmon restart
sudo /etc/init.d/chtcollectd restart
If there are still no contents in the collection logs, please reach out to the CloudHealth support team.