sensu-plugins / sensu-plugins-aws

This plugin provides native AWS instrumentation for monitoring and metrics collection, including: health and metrics for various AWS services, such as EC2, RDS, ELB, and more, as well as handlers for EC2, SES, and SNS.
http://sensu-plugins.io
MIT License
81 stars 143 forks source link

Add tag option in check-ebs-burst-limit.rb #350

Closed boutetnico closed 4 years ago

boutetnico commented 5 years ago

Pull Request Checklist

Is this in reference to an existing issue? No

General

Purpose

Add a new option to check-ebs-burst-limit.rb allowing to pass a TAG name to output as well as volume id.

Example output before the PR:

CheckEbsBurstLimit CRITICAL: Volume(s) have exceeded critical threshold: ["vol-XXXXXXX 99.0"]

Example after the PR:

CheckEbsBurstLimit CRITICAL: Volume(s) have exceeded critical threshold: ["vol-XXXXXXX (staging-volume01) 99.0]"

Known Compatibility Issues

None