1. First, check the agent log for a reason.
On Windows, the log path for the agent is: C:\Program Files (x86)\Cloudmon\logs.
On Linux, the log path for the agent is: /var/log/cloudmon/agent/agent.log.
2. Verify if the CC_URL is in the following format: https://<controller IP>. If not, modify it to the given format and restart the cloudmon-agent.
To restart the agent on Windows, navigate to Task Manager, go to the "Services" tab, find "cloudmon-agent," right-click on it, and select "Restart."
To restart the agent on Linux, use the command "service cloudmon-agent restart."
3. Check if the controller is reachable from the agent machine.
4. Verify if the firewall is blocking port 80 and 443