sensu-plugins-elasticsearch 1.6.0 → 1.6.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
  SHA1:
3
- metadata.gz: 43c1d22dfed96437693246e301dbbdd3e2ae8c8b
4
- data.tar.gz: 26b3f05c74c87d31a49fc60403341a8a3c867258
3
+ metadata.gz: ccac27672694127e79e44c35ae89993cb3fd2d8c
4
+ data.tar.gz: 3ced80ebfa6e4cf4ffbc7511fbfe1f016a592914
5
5
  SHA512:
6
- metadata.gz: fc43f23476689f07200d3267e9833e6ca50b2b47f7c72cc2cb3d1ef92fc7cdd881dffb8c29ec2edb659a03d60af7f5f6c01908db7b540078b84ab6713557b361
7
- data.tar.gz: ecdcae5ca860a180c64731eacb0992d88920c4d242b15cacf32fe7a089f4dd5d46301cef85f0e9bd19800bb5360a06e667725edb1b631ead8b2b00f7f3ca978f
6
+ metadata.gz: cbed78893141f38b9021029317d2e244c909d5561f2bf8142dfba347a0da762a55c4c1666c41c754ed664c7486aa613b32e63f5af1e88c165ec20d1c56ff8016
7
+ data.tar.gz: 9f82647ee3f664b850bdde81e780161433365801b8d843ab7ee5d117a289a3631edc353d8674e97544ff73f4ddb4ff30e994e557df0be0bc25c9ef13a5b58993
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [1.6.1] - 2017-08-24
9
+ ### Fixed
10
+ - bin/check-es-query-ratio.rb: added support to define float thresholds (@cgarciaarano)
11
+
8
12
  ## [1.6.0] - 2017-08-18
9
13
  ### Added
10
14
  - bin/check-es-query-ratio.rb: added option to avoid triggering alert if divisor is 0 (@cgarciaarano)
@@ -34,7 +38,6 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
34
38
  - check-es-shard-allocation-status.rb: HTTP Basic Auth support added (@cihangirbesiktas)
35
39
  - check-es-shard-allocation-status.rb: timeout option for rest calls (@cihangirbesiktas)
36
40
 
37
-
38
41
  ### Fixed
39
42
  - PR template spell "compatibility" correctly. (@majormoses)
40
43
 
@@ -184,7 +187,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
184
187
  - initial release
185
188
 
186
189
 
187
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.6.0...HEAD
190
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.6.1...HEAD
191
+ [1.6.1]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.6.0...1.6.1
188
192
  [1.6.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.5.3...1.6.0
189
193
  [1.5.3]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.5.2...1.5.3
190
194
  [1.5.2]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.5.1...1.5.2
@@ -190,14 +190,14 @@ class ESQueryRatio < Sensu::Plugin::Check::CLI
190
190
  short: '-w N',
191
191
  long: '--warn N',
192
192
  description: 'Result count WARNING threshold',
193
- proc: proc(&:to_i),
193
+ proc: proc(&:to_f),
194
194
  default: 0
195
195
 
196
196
  option :crit,
197
197
  short: '-c N',
198
198
  long: '--crit N',
199
199
  description: 'Result count CRITICAL threshold',
200
- proc: proc(&:to_i),
200
+ proc: proc(&:to_f),
201
201
  default: 0
202
202
 
203
203
  option :invert,
@@ -2,7 +2,7 @@ module SensuPluginsElasticsearch
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 6
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-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.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-08-18 00:00:00.000000000 Z
11
+ date: 2017-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client