sensu-plugins-aws 10.1.0 → 10.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aab932b622a455c57a0452d064e70eec97da6406360f1fdbb07fdc22947a16da
|
|
4
|
+
data.tar.gz: 4b8ab5f873b2c36a57d1cf70bb56da5aeb35ead249e14cc319b7142b52bb2985
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2523108ce56e1a7c4d1745f6b7df570fe35406ab7330795fbc78fbc6204e3f282b7d89b658103e791c87572db422268e9680c8464411f989d14194f4cf37cb6f
|
|
7
|
+
data.tar.gz: bf6d5e42ab154e9b3f3806adf88343bc47a2f2da9fc6c4cd7e80342c61b915e04dec1a3c6fcb045eb714c6a930d364a4887a3f1d61a6e775de304d6d08706efb
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [10.1.1.] - 2018-01-13
|
|
9
|
+
### Fixed
|
|
10
|
+
- check-instance-health.rb: fixed incorrect test operator from `&&` to `||` in `gather_events`, should reject if either case is true. (@randeffects)
|
|
11
|
+
|
|
8
12
|
## [10.1.0] - 2018-01-06
|
|
9
13
|
- check-cloudwatch-composite-metric.rb: add flags `zero_denominator_data_ok`, `no_denominator_data_ok`, and `numerator_default` to add ability to allow numerator in composite to be 0. While leaving the functionality of `no_data_ok` the same, this change allows us to check to alert if the numerator has no data since 0/X is a valid alert case. (@zbintliff)
|
|
10
14
|
- lib/cloudwatch-common.rb: added tests for majority of functions (@zbintliff)
|
|
@@ -410,7 +414,8 @@ WARNING: This release contains major breaking changes that will impact all user
|
|
|
410
414
|
### Added
|
|
411
415
|
- initial release
|
|
412
416
|
|
|
413
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/10.1.
|
|
417
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/10.1.1...HEAD
|
|
418
|
+
[10.1.1]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/10.1.0...10.1.1
|
|
414
419
|
[10.1.0]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/10.1.0...10.0.3
|
|
415
420
|
[10.0.3]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/10.0.2...10.0.3
|
|
416
421
|
[10.0.2]: https://github.com/sensu-plugins/sensu-plugins-aws/compare/10.0.1...10.0.2
|
|
@@ -46,7 +46,7 @@ class CheckInstanceEvents < Sensu::Plugin::Check::CLI
|
|
|
46
46
|
default: '{}'
|
|
47
47
|
|
|
48
48
|
def gather_events(events)
|
|
49
|
-
useful_events = events.reject { |x| (x[:code] =~ /system-reboot|instance-stop|system-maintenance/)
|
|
49
|
+
useful_events = events.reject { |x| (x[:code] =~ /system-reboot|instance-stop|system-maintenance/) || (x[:description] =~ /\[Completed\]|\[Canceled\]/) }
|
|
50
50
|
!useful_events.empty?
|
|
51
51
|
end
|
|
52
52
|
|
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: 10.1.
|
|
4
|
+
version: 10.1.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: 2018-01-
|
|
11
|
+
date: 2018-01-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk
|