Skip to content

check-asg-instances-inservice.rb #274

@bdshibly

Description

@bdshibly

We are using sensu to monitor our AWS infrastructure. We have lots of ASG in every environments including prod, stage, qa, qe etc. and we are using lambda functions on some of our ASG to make desire number of instance to zero. But check-asg-instances-inservice.rb is sending an alert when the ASG desire number of instance is becoming to zero. To overcome this problem, we have to write individual checks for each ASG which is not dynamic. Is there anyway to update the script to check whether the ASG desire number is zero or not if zero then skip those ASG and continue checking other ASGs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions