sensu-plugins-mesos 2.1.0 → 2.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 +5 -5
- data/CHANGELOG.md +5 -0
- data/bin/check-marathon-task.rb +1 -1
- data/lib/sensu-plugins-mesos/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: d3959b0cafffb334bca01348d6663bddac4b24dbd90a8004417a0185aec6799e
|
|
4
|
+
data.tar.gz: a2452eb299c011427032a4a48bbaa291f008750fb68f6091971fdeac7f5f326f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87d6ab28a2198f3d3b2ee79293838d7a4948723a6428f812033af4ff9554a1621b35e23c884668cbfeba22bff2ea55b51842678178702f75109e2da93034ff5f
|
|
7
|
+
data.tar.gz: 452e7e2b5ceb6c16f826478da03441edd1d8b03b03cc0016522a98b47cf974b96e076565c98f435b2198cea11f9e4de40e52112323ca6375029bc4894dc0fcfa
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [2.2.1] - 2017-11-04
|
|
9
|
+
### Fixed
|
|
10
|
+
- check-marathon-task.rb: solved a bug which prevented to alert when number of instances were retrieved from Marathon
|
|
11
|
+
|
|
8
12
|
## [2.1.0] - 2017-10-20
|
|
9
13
|
### Changed
|
|
10
14
|
- check-marathon-task.rb: if instances are not defined, plugin will check number of configured instances in Marathon. Also removed Net::HTTP in favour of Restclient::Resource
|
|
@@ -79,6 +83,7 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
79
83
|
- initial release
|
|
80
84
|
|
|
81
85
|
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-mesos/compare/2.1.0...HEAD
|
|
86
|
+
[2.1.1]: https://github.com/sensu-plugins/sensu-plugins-mesos/compare/2.1.0...2.1.1
|
|
82
87
|
[2.1.0]: https://github.com/sensu-plugins/sensu-plugins-mesos/compare/2.0.0...2.1.0
|
|
83
88
|
[2.0.0]: https://github.com/sensu-plugins/sensu-plugins-mesos/compare/1.1.0...2.0.0
|
|
84
89
|
[1.1.0]: https://github.com/sensu-plugins/sensu-plugins-mesos/compare/1.0.0...1.1.0
|
data/bin/check-marathon-task.rb
CHANGED
|
@@ -121,7 +121,7 @@ class MarathonTaskCheck < Sensu::Plugin::Check::CLI
|
|
|
121
121
|
|
|
122
122
|
message << ":\n" << unhealthy.join("\n") if unhealthy.any?
|
|
123
123
|
|
|
124
|
-
critical message if unhealthy.any? || ok_count <
|
|
124
|
+
critical message if unhealthy.any? || ok_count < expected
|
|
125
125
|
|
|
126
126
|
ok message
|
|
127
127
|
rescue Errno::ECONNREFUSED, SocketError
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-mesos
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.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: 2017-
|
|
11
|
+
date: 2017-11-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|
|
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
268
268
|
version: '0'
|
|
269
269
|
requirements: []
|
|
270
270
|
rubyforge_project:
|
|
271
|
-
rubygems_version: 2.
|
|
271
|
+
rubygems_version: 2.7.1
|
|
272
272
|
signing_key:
|
|
273
273
|
specification_version: 4
|
|
274
274
|
summary: Sensu plugins for checking mesos
|