Cloudwatch EC2 stopped showing data

0

I have 3 EC2 instances running and I have set up a cloud watch panel for them to watch the CPU usage and credit balance. I've not touched anything on the instances or the panel itself, but one of the instances stopped showing any data. The instance is functioning correctly, but it's not showing any data in cloudwatch. And this happens for just one of the 3 instances shown in the panel. Enter image description here As you can see from the screenshot it starts and stops recording data for some reason. Is there anything I can do to fix this?

已提问 1 个月前173 查看次数
1 回答
0

The CloudWatch agent, responsible for collecting and sending metrics to CloudWatch, might be malfunctioning on that specific instance.

Check the CloudWatch agent status on the instance. You can use AWS Systems Manager Run Command or the command line depending on your preference (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/troubleshooting-CloudWatch-Agent.html).

If it's not running, look for errors in the configuration file. The location varies based on OS (e.g., /opt/aws/amazon-cloudwatch-agent/logs/configuration-validation.log on Linux).

已回答 1 个月前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则