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?

asked 17 days ago157 views
1 Answer
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).

answered 17 days ago
profile picture
EXPERT
reviewed 17 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions