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 Antwort
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).

beantwortet vor einem Monat
profile picture
EXPERTE
A_J
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen