sensu-plugins-aws 10.1.0 → 10.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 35e5a15486f7584a9ba3511aa6511e5499749785c6eb479b2bf466e387f5453e
4
- data.tar.gz: fba519f316d43e12c735671f13c4d83e267fc3deab9c3379408fbc2239968ef3
3
+ metadata.gz: aab932b622a455c57a0452d064e70eec97da6406360f1fdbb07fdc22947a16da
4
+ data.tar.gz: 4b8ab5f873b2c36a57d1cf70bb56da5aeb35ead249e14cc319b7142b52bb2985
5
5
  SHA512:
6
- metadata.gz: 971426511c04536e2c5915af6e22b1429b54d2699ec24ef04caa0d5c42f04020f37ac8013a1434cbd5bafd368c8324a0bc1e2e1de33975acefb28085fcffb3f6
7
- data.tar.gz: 694f183d1e74bc11f8596930d847fa439fe0a08154a9e3e90e17b535c780c9966889130cf8fdae078ff20cd695f42d39a709d82ad2e58223355e0a72977bfc52
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.0...HEAD
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/) && (x[:description] =~ /\[Completed\]|\[Canceled\]/) }
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
 
@@ -2,7 +2,7 @@ module SensuPluginsAWS
2
2
  module Version
3
3
  MAJOR = 10
4
4
  MINOR = 1
5
- PATCH = 0
5
+ PATCH = 1
6
6
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
7
7
  end
8
8
  end
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.0
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-06 00:00:00.000000000 Z
11
+ date: 2018-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk