I want to monitor(notifications)SSM managed instance ping status.It should notify when instance ping status is connection lost.I tried to look for options in cloudwatch event rules but nothing worked.Have anyone implemented it?
Asked
Active
Viewed 739 times
1 Answers
2
You can utilize AWS Config custom rule - something similar to this:
Above rule relies on inventory to get this detail - which eventually is aggregation of the UpdateInstanceInformation API call by ssm
As of now, I don't see a ready made config rule that lets you check ping-status - but it should be possible via custom rule which utilizes Systems Manager DescribeInstanceInformation API
You can get some idea about how to work with custom rule, by checking the existing rules: https://github.com/awslabs/aws-config-rules You can also raise a new rule request over there.

Ketanbhut
- 476
- 2
- 11