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 個月前檢視次數 176 次
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
專家
A_J
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南