sensu-plugins-aws 5.1.0 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/bin/check-elb-nodes.rb +3 -1
- data/lib/sensu-plugins-aws/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d3c5e2004707422af5e589968107c2a8a8e08dc
|
4
|
+
data.tar.gz: 70afa3ca1abecb2941ad349e3d7be906e5e02d92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9002e1780605aa9d9b6b8c341c3ff9249264ed7f0eaee1c5821e774e3ee6102e1cde3daea0aaa67ea963109d2594b6c16e70f3c2d075545af442d16d21e263f5
|
7
|
+
data.tar.gz: 38bfa408a0ac64c03477611f8f95af494342204b85a734f82ea98d41edc16edd2f981c7ddf31d014150562eec94feea96c81cd5edf36a1d64915a3fe587188c4
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
|
+
## 6.0.0
|
8
|
+
### Breaking Change
|
9
|
+
- check-elb-nodes.rb returns critical instead of unknown if total number of nodes equals zero (@autarchprinceps)
|
10
|
+
|
7
11
|
## [5.1.0] - 2017-05-09
|
8
12
|
- check-s3-object.rb: Add an option to check a file by his prefix (@julio-ogury)
|
9
13
|
|
@@ -299,7 +303,8 @@ WARNING: This release contains major breaking changes that will impact all user
|
|
299
303
|
### Added
|
300
304
|
- initial release
|
301
305
|
|
302
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/
|
306
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/6.0.0...HEAD
|
307
|
+
[6.0.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/5.1.0...6.0.0
|
303
308
|
[5.1.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/5.1.0...5.0.0
|
304
309
|
[5.0.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/5.0.0...4.1.0
|
305
310
|
[4.1.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/4.1.0...4.0.0
|
data/bin/check-elb-nodes.rb
CHANGED
@@ -125,7 +125,9 @@ class CheckELBNodes < Sensu::Plugin::Check::CLI
|
|
125
125
|
message << " (#{state['Unknown'].join(', ')})"
|
126
126
|
end
|
127
127
|
|
128
|
-
if
|
128
|
+
if num_instances.zero?
|
129
|
+
critical 'ELB has no nodes'
|
130
|
+
elsif state['Unknown'].count == num_instances
|
129
131
|
unknown 'All nodes in unknown state'
|
130
132
|
elsif state['InService'].count == 0
|
131
133
|
critical message
|