I Could not catch you properly, but here are some details - CloudWatch agent has these steps to make it work - 1. Install 2. Fetch Configure with JSON/SSM 3. Start agent. Also you can enable autostart of agent on Windows Service/ systemctl enable servicename in Linux to autostart it.
If it fails / stops for some reason - it could be less memory available. As solution - You can set a Cron in Linux/ Task scheduler in Windows to start the agent every 1 minute.
Also you can check the Logs of CloudWatch agent on server in default location of installation.
Hi, you should connect to your EC2 instance and type the command indicated on this page https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/ReportCWLAgentStatus.html
sudo service awslogs status
or if Linux AL2
sudo service awslogsd status
and then Check the /var/log/awslogs.log file for any errors, warnings, or issues with the CloudWatch Logs agent
- asked 4 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 8 months ago