sensu-plugins-sensu 2.2.1 → 2.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a1401339a1cda4b1a6f09840b51533cfd1baa368
4
- data.tar.gz: 52c826df78808ce97f0ea0b1da800fdc8f0f9e8e
3
+ metadata.gz: 319e51590b0a070a0607d0e02a5d3db5783cd50c
4
+ data.tar.gz: 28c1c50272acca08cac8ee2444b6617a383c30d4
5
5
  SHA512:
6
- metadata.gz: a4497e79d733c9a6325a573af36327cee48fd0c5725730c4164b3fd53b6073430c069391c6403271221df4ccbd1e23228b5e4997d87c3b05c42a1085c6ea8aa4
7
- data.tar.gz: c147e367c3e10b0616b2a8a354e1fa02b49815b606409a6512d94a7770f4bc6e07b7f8854b3fa245b3b5e8dbacd6bb1d4536f77c15d5e42e31afd97de4c027bc
6
+ metadata.gz: 669ce1f62ebc6f49770ea5c4f97d51cac3f9113dd15cf88ffb2904413596f5299341fb4ce72a8903f7e17c2459bb519dd385fe39a626965e43f9b9eaa228db49
7
+ data.tar.gz: f93b633445381dcaef695f966e85e18cd3401da054d9a99be1329d63ec91199b01a348be83c78bb5ecc867c4e45d911e1dc3add00a2a50555c2d1a727a7c2f27
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [2.2.2] - 2017-09-26
10
+ ### Changed
11
+ - handler-sensu.rb: In sensu version [0.26](https://github.com/sensu/sensu/blob/v1.0.0/CHANGELOG.md#features-4) clients create and subscribes to a unique client subscription named after it. Adding new internal sensu client name in addition to old defaults keeping backwards compatibility. (@Ssawa)
12
+
9
13
  ## [2.2.1] - 2017-09-25
10
14
  ### Fixed
11
15
  - check-stale-results.rb: Removed broken and unnecessary block argument that stopped the plugin from running (@portertech)
@@ -86,7 +90,8 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
86
90
  ### Added
87
91
  - initial release
88
92
 
89
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.2.0...HEAD
93
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.2.2...HEAD
94
+ [2.2.2]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.2.1...2.2.2
90
95
  [2.2.1]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.2.0...2.2.1
91
96
  [2.2.0]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.1.0...2.2.0
92
97
  [2.1.1]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.1.0...2.1.1
data/bin/handler-sensu.rb CHANGED
@@ -89,7 +89,8 @@ class Remediator < Sensu::Handler
89
89
 
90
90
  remediation_checks = parse_remediations(remediations, occurrences, severity)
91
91
 
92
- subscribers = @event['check']['trigger_on'] ? @event['check']['trigger_on'] : [client]
92
+ # at some point we should come back and remove the old default subscription of [client]
93
+ subscribers = @event['check']['trigger_on'] ? @event['check']['trigger_on'] : ['client:' + client, client]
93
94
  remediation_checks.each do |remediation_check|
94
95
  puts "REMEDIATION: Triggering remediation check '#{remediation_check}' "\
95
96
  "for #{[client].inspect}"
@@ -3,7 +3,7 @@ module SensuPluginsSensu
3
3
  module Version
4
4
  MAJOR = 2
5
5
  MINOR = 2
6
- PATCH = 1
6
+ PATCH = 2
7
7
 
8
8
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-sensu
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors