sensu-plugins-elasticsearch 1.6.0 → 1.6.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 +4 -4
- data/CHANGELOG.md +6 -2
- data/bin/check-es-query-ratio.rb +2 -2
- data/lib/sensu-plugins-elasticsearch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ccac27672694127e79e44c35ae89993cb3fd2d8c
|
|
4
|
+
data.tar.gz: 3ced80ebfa6e4cf4ffbc7511fbfe1f016a592914
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cbed78893141f38b9021029317d2e244c909d5561f2bf8142dfba347a0da762a55c4c1666c41c754ed664c7486aa613b32e63f5af1e88c165ec20d1c56ff8016
|
|
7
|
+
data.tar.gz: 9f82647ee3f664b850bdde81e780161433365801b8d843ab7ee5d117a289a3631edc353d8674e97544ff73f4ddb4ff30e994e557df0be0bc25c9ef13a5b58993
|
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
|
+
## [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.
|
|
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
|
data/bin/check-es-query-ratio.rb
CHANGED
|
@@ -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(&:
|
|
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(&:
|
|
200
|
+
proc: proc(&:to_f),
|
|
201
201
|
default: 0
|
|
202
202
|
|
|
203
203
|
option :invert,
|
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.
|
|
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-
|
|
11
|
+
date: 2017-08-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|