awslabs / collectd-cloudwatch

A collectd plugin for sending data to Amazon CloudWatch
MIT License
199 stars 131 forks source link

Could not get the autoscalig group name using the following endpoint #80

Open ghost opened 5 years ago

ghost commented 5 years ago

Hosts failed to publish metrics to correct ASG because of error "Could not get the autoscalig group name using the following endpoint: 'https://ec2.ap-northeast-2.amazonaws.com/"

I think the root cause is that the total retry of the EC2 agent is 1 https://github.com/awslabs/collectd-cloudwatch/blob/master/src/cloudwatch/modules/client/ec2getclient.py#L25

Probably makes sense to increase it?

ghost commented 5 years ago

Error code: "Exception: 503 Server Error: Service Unavailable for url: https://ec2.ap-northeast-2.amazonaws.com/?Action=DescribeTags&Filter.1.Name=key&Fil"

Konig-Corey commented 3 years ago

You have verified that you're instance is in fact in an ASG correct?