sensu-plugins-mesos 2.1.0 → 2.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
- SHA1:
3
- metadata.gz: 9bb2b08b42ff7321fea875982453469fd5bcec99
4
- data.tar.gz: f29e66d69c0fc30184155bf626ef3ca923e899af
2
+ SHA256:
3
+ metadata.gz: d3959b0cafffb334bca01348d6663bddac4b24dbd90a8004417a0185aec6799e
4
+ data.tar.gz: a2452eb299c011427032a4a48bbaa291f008750fb68f6091971fdeac7f5f326f
5
5
  SHA512:
6
- metadata.gz: f802bd1574f2d06c538b7ad53fc07e84867bf8982d17ae9f0fb3358bed80623878ca805453fd45ca6dea3621640b31c1d2d6140f02b4968ac365d237b3461d67
7
- data.tar.gz: 84b13e54808f809da09dc77e86daa24d9b61a5e42d94f7fb136c1f5d33466742d0b40644cd480742138e8488f939187d924c53c1de768e85f7c0a75f368e2817
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
@@ -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 < config[:instances]
124
+ critical message if unhealthy.any? || ok_count < expected
125
125
 
126
126
  ok message
127
127
  rescue Errno::ECONNREFUSED, SocketError
@@ -2,7 +2,7 @@ module SensuPluginsMesos
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 1
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
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.0
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-10-20 00:00:00.000000000 Z
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.6.14
271
+ rubygems_version: 2.7.1
272
272
  signing_key:
273
273
  specification_version: 4
274
274
  summary: Sensu plugins for checking mesos