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 réponse
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).

répondu il y a un mois
profile picture
EXPERT
A_J
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions