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 +4 -4
- data/CHANGELOG.md +6 -1
- data/bin/handler-sensu.rb +2 -1
- data/lib/sensu-plugins-sensu/version.rb +1 -1
- 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: 319e51590b0a070a0607d0e02a5d3db5783cd50c
|
|
4
|
+
data.tar.gz: 28c1c50272acca08cac8ee2444b6617a383c30d4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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
|
-
|
|
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}"
|