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

Prevent retrieval of all db instances when db_cluster_id is provided #367

Closed dspano closed 3 years ago

dspano commented 4 years ago

Fix: When specifying db_cluster_id and not providing db_instance_id... all db instances are retrieved. If a db_cluster_id option is provided the only db instance retrieved will be the cluster's writable db instance, if found.

majormoses commented 3 years ago

Thanks for the contribution and sorry for the long delay, I have not been very active lately.