sensu-plugins-aws 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/bin/check-elb-certs.rb +1 -1
- data/bin/check-emr-steps.rb +2 -1
- data/bin/check-instance-health.rb +1 -1
- data/lib/sensu-plugins-aws/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f76b3d361f86aba6404b7feec0fb0a539c905ee1
|
4
|
+
data.tar.gz: d4c41a184fbceac2538a6b74e055c672342b0916
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1508eaa5d15d324188474c38bb248f57dd58f413913e8e39975648416347d809e4b3de01f6c39c45695d7b72fd5fe4285289f6f8e42bf99b94a96da61c4465a
|
7
|
+
data.tar.gz: 899da9812e7855ae89f970a27447d0d89f0ba5eb13d478e4c7201ab7fdbc1ecbaba34118c395714ee72fb548ec4e3952f76b85e1bed327c6962c7b12287bc7f8
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,12 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
## [3.2.1] - 2016-08-10
|
9
|
+
### Fixed
|
10
|
+
- check-instance-health.rb: fixed remediated events not working after resolving it (@oba11)
|
11
|
+
- Fixed bugs in check-emr-steps.rb (@babsher)
|
12
|
+
- check-elb-certs.rb: Fix error introduced by rubocop cleanup (#125 @eheydrick)
|
13
|
+
|
8
14
|
## [3.2.0] - 2016-08-03
|
9
15
|
### Fixed
|
10
16
|
- metrics-emr-steps.rb: fixed typo in variable name (@babsher)
|
@@ -226,7 +232,8 @@ WARNING: This release contains major breaking changes that will impact all user
|
|
226
232
|
### Added
|
227
233
|
- initial release
|
228
234
|
|
229
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/3.2.
|
235
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/3.2.1..HEAD
|
236
|
+
[3.2.1]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/3.2.0...3.2.1
|
230
237
|
[3.2.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/3.1.0...3.2.0
|
231
238
|
[3.1.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/3.0.0...3.1.0
|
232
239
|
[3.0.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/2.4.3...3.0.0
|
data/bin/check-elb-certs.rb
CHANGED
@@ -127,7 +127,7 @@ class CheckELBCerts < Sensu::Plugin::Check::CLI
|
|
127
127
|
unknown "An error occurred processing AWS ELB API: #{e.message}"
|
128
128
|
end
|
129
129
|
|
130
|
-
if !critical_message.
|
130
|
+
if !critical_message.empty?
|
131
131
|
message = cert_message(critical_message.length, 'expiring within', config[:crit_under])
|
132
132
|
message += ': ' + critical_message.sort.join(' ')
|
133
133
|
critical message
|
data/bin/check-emr-steps.rb
CHANGED
@@ -59,6 +59,7 @@ class CheckEMRSteps < Sensu::Plugin::Check::CLI
|
|
59
59
|
short: '-c COUNT',
|
60
60
|
long: '--count',
|
61
61
|
description: 'Max number of steps with this status.',
|
62
|
+
proc: proc(&:to_i),
|
62
63
|
default: 0
|
63
64
|
|
64
65
|
def run
|
@@ -71,7 +72,7 @@ class CheckEMRSteps < Sensu::Plugin::Check::CLI
|
|
71
72
|
|
72
73
|
steps = emr.list_steps(
|
73
74
|
cluster_id: cluster.id,
|
74
|
-
step_states: config[:status]
|
75
|
+
step_states: [config[:status]]
|
75
76
|
).steps
|
76
77
|
|
77
78
|
messages = []
|
@@ -41,7 +41,7 @@ class CheckInstanceEvents < Sensu::Plugin::Check::CLI
|
|
41
41
|
default: 'us-east-1'
|
42
42
|
|
43
43
|
def gather_events(events)
|
44
|
-
useful_events = events.reject { |x| x[:code]
|
44
|
+
useful_events = events.reject { |x| (x[:code] =~ /system-reboot|instance-stop|system-maintenance/) && (x[:description] =~ /\[Completed\]|\[Canceled\]/) }
|
45
45
|
!useful_events.empty?
|
46
46
|
end
|
47
47
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-aws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sensu-Plugins and contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|