nehalaws

Results comments of nehalaws

Hello Peter, I think the issue is not related to amazon-ssm-agent, can you please post in AWS forms to get maybe faster response regarding the issue? Thank you!

Can you please try: sudo systemctl status snap.amazon-ssm-agent.amazon-ssm-agent the service name on ubuntu is different.

Thank you for posting the issue, ERROR Error adding the directory to watcher: no such file or directory is not really related. From the output of "sudo systemctl status snap.amazon-ssm-agent.amazon-ssm-agent"...

I also noticed from the logs that the agent goes to hibernation, the reason can be that the instance is missing AmazonEc2RoleForSSM and the agent is not able to reach...

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

Thank you for posting the issue, is it possible to attach all agent logs? If the instance is not shown as managed instance, that indicates an issue with IAM role...

Yes I just followed the tutorial and found the instance in the managedInstances list.

2018-10-18 15:50:30 ERROR Health ping failed with error - UnrecognizedClientException: The security token included in the request is invalid. status code: 400, request id: 040bcb0e-4bda-4e79-9756-3e731d414840 This error indicates that the...

Thank you for posting the issue here, SSM agent using a custom version of AWS SDK and we periodically update it, that's why agent has a copy of the SDK...

Thank you for posting the issue here, we will work on publishing agent versions to snap stable more frequent. Currently candidate branch is up to date.