sensu-plugins-aws icon indicating copy to clipboard operation
sensu-plugins-aws copied to clipboard

check-instance-health.rb --filter not working

Open ChrisMKinsella opened this issue 4 years ago • 0 comments

When I run:

check-instance-health.rb --filter 'Name=tag:Name,Values=container-host-large-prod-0' --aws-region eu-central-1

The filter tag is ignored so it returns ALL instances with failing status checks in the Account.

CheckInstanceEvents CRITICAL: 2 instances have: i-0450xxxx6d9c2da13 has failed instance status checks,i-059eexxxa54f79ea6 has failed instance status checks```

I have tried the --filter tag with these variations with the same result:

'Name=tag:Name,Values=container-host-large-prod-0'
"Name=tag:Name,Values=container-host-large-prod-0"
Name=tag:Name,Values=container-host-large-prod-0

ChrisMKinsella avatar Aug 21 '19 15:08 ChrisMKinsella