sensu-plugins-elasticsearch 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/bin/metrics-es-cluster.rb +1 -1
- data/lib/sensu-plugins-elasticsearch/version.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce52bb7bcbc764e650d3007f02ff61680cfcb4ab
|
4
|
+
data.tar.gz: 064d9d43f19b4605a4538b120acfffa55ac1cfe8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 511b53d7dda414ea7dbbe20a61eb667a92f9a785788c8ec6d1ad259b89dddb3360e1cbb9eac447c58ebc2f7437c4979810f53f78b1c89083b3378be24a8c1456
|
7
|
+
data.tar.gz: 9cb2e6147b1346d5e161f060258abfb5786acbbbc3eec7675b33ec2f4cf038a01a271bfb390ecf837e499dd420947177bd611230bcddbbb8c65ce741673b368c
|
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.5.1] - 2017-08-03
|
9
|
+
### Fixed
|
10
|
+
- bin/metrics-es-cluster.rb: missing data no longer causes invalid metrics by defaulting to 0 (@TheKevJames)
|
11
|
+
|
8
12
|
## [1.5.0] - 2017-07-26
|
9
13
|
### Added
|
10
14
|
- check-es-query-average.rb: check of average result by field (@ilavender)
|
@@ -168,7 +172,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
168
172
|
### Added
|
169
173
|
- initial release
|
170
174
|
|
171
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.5.
|
175
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.5.1...HEAD
|
176
|
+
[1.5.1]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.5.0...1.5.1
|
172
177
|
[1.5.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.4.1...1.5.0
|
173
178
|
[1.4.1]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.4.0...1.4.1
|
174
179
|
[1.4.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.3.1...1.4.0
|
data/bin/metrics-es-cluster.rb
CHANGED
@@ -191,7 +191,7 @@ class ESClusterMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
191
191
|
end
|
192
192
|
acquire_cluster_metrics.each do |cluster_metric|
|
193
193
|
cluster_metric[1].each do |k, v|
|
194
|
-
output(config[:scheme] + '.' + cluster_metric[0] + '.' + k, v)
|
194
|
+
output(config[:scheme] + '.' + cluster_metric[0] + '.' + k, v || 0)
|
195
195
|
end
|
196
196
|
end
|
197
197
|
output(config[:scheme] + '.document_count', acquire_document_count)
|
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.5.
|
4
|
+
version: 1.5.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-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -224,23 +224,23 @@ description: |-
|
|
224
224
|
service health and metrics for cluster, node, and more.
|
225
225
|
email: "<sensu-users@googlegroups.com>"
|
226
226
|
executables:
|
227
|
-
- check-es-
|
228
|
-
- metrics-es-node.rb
|
229
|
-
- metrics-es-cluster.rb
|
230
|
-
- check-es-query-exists.rb
|
231
|
-
- handler-es-delete-indices.rb
|
232
|
-
- check-es-indices-sizes.rb
|
233
|
-
- check-es-cluster-status.rb
|
227
|
+
- check-es-circuit-breakers.rb
|
234
228
|
- check-es-cluster-health.rb
|
229
|
+
- check-es-cluster-status.rb
|
235
230
|
- check-es-file-descriptors.rb
|
231
|
+
- check-es-heap.rb
|
236
232
|
- check-es-indexes.rb
|
237
|
-
- check-es-
|
233
|
+
- check-es-indices-sizes.rb
|
238
234
|
- check-es-node-status.rb
|
239
|
-
- check-es-circuit-breakers.rb
|
240
235
|
- check-es-query-average.rb
|
241
|
-
- check-es-
|
242
|
-
-
|
236
|
+
- check-es-query-count.rb
|
237
|
+
- check-es-query-exists.rb
|
238
|
+
- check-es-query-ratio.rb
|
243
239
|
- check-es-shard-allocation-status.rb
|
240
|
+
- handler-es-delete-indices.rb
|
241
|
+
- metrics-es-cluster.rb
|
242
|
+
- metrics-es-node-graphite.rb
|
243
|
+
- metrics-es-node.rb
|
244
244
|
extensions: []
|
245
245
|
extra_rdoc_files: []
|
246
246
|
files:
|
@@ -294,7 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
294
294
|
version: '0'
|
295
295
|
requirements: []
|
296
296
|
rubyforge_project:
|
297
|
-
rubygems_version: 2.4.5
|
297
|
+
rubygems_version: 2.4.5
|
298
298
|
signing_key:
|
299
299
|
specification_version: 4
|
300
300
|
summary: Sensu plugins for elasticsearch
|