amazon-ssm-agent icon indicating copy to clipboard operation
amazon-ssm-agent copied to clipboard

SSMAgent on Windows 2016 does not start the CloudWatch Plugin

Open lmayorga1980 opened this issue 8 years ago • 3 comments

You can reproduce the issue by using an Amazon Windows 2016 AMI https://forums.aws.amazon.com/thread.jspa?threadID=289666 and following with the sample JSON Configuration and the SSM Agent will not start publishing logs.

However, You can still publish logs using the AWS.CloudWatch.exe directly by passing the instance_id, region and JSON File

lmayorga1980 avatar Sep 11 '18 20:09 lmayorga1980

Thank you for posting the issue, there was a bug in the agent preventing cloudwatch plugin from starting if the instance doesn't have AmazonEc2RoleForSSM. Updating SSM agent to latest should fix the issue.

nehalaws avatar Oct 09 '18 21:10 nehalaws

I don't think is fixed yet https://forums.aws.amazon.com/thread.jspa?threadID=289666&tstart=0

lmayorga1980 avatar Oct 25 '18 20:10 lmayorga1980

The problem was fixed with version Amazon SSM Agent v2.2.800.0 and saving the JSON file with ANSI format.

lmayorga1980 avatar Nov 09 '18 15:11 lmayorga1980