bin/check-rds-pending.rb in sensu-plugins-aws-3.1.0 vs bin/check-rds-pending.rb in sensu-plugins-aws-3.2.0
- old
+ new
@@ -1,15 +1,12 @@
#! /usr/bin/env ruby
#
-# check-rds-events
+# check-rds-pending
#
#
# DESCRIPTION:
-# This plugin checks rds clusters for critical events.
-# Due to the number of events types on RDS clusters the check searches for
-# events containing the text string 'has started' or 'is being'. These events all have
-# accompanying completiion events and are impacting events
+# This plugin checks rds clusters for pending maintenance action.
#
# OUTPUT:
# plain-text
#
# PLATFORMS:
@@ -18,20 +15,21 @@
# DEPENDENCIES:
# gem: aws-sdk
# gem: sensu-plugin
#
# USAGE:
-# ./check-rds-events.rb -r ${you_region}
+# ./check-rds-pending.rb -r ${you_region}
#
# NOTES:
#
# LICENSE:
# Tim Smith <tim@cozy.co>
# Released under the same terms as Sensu (the MIT license); see LICENSE
# for details.
#
require 'sensu-plugin/check/cli'
+require 'sensu-plugins-aws'
require 'aws-sdk'
class CheckRDSEvents < Sensu::Plugin::Check::CLI
include Common