sensu-plugins-elasticsearch 4.0.0 → 4.0.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 -1
- data/bin/metrics-es-cluster.rb +1 -1
- data/bin/metrics-es-node-graphite.rb +1 -1
- data/bin/metrics-es-node.rb +1 -1
- data/lib/sensu-plugins-elasticsearch/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d870eecf676c3919ac2fa00619d61343cb7136e8a6bd999023d554012799cd05
|
|
4
|
+
data.tar.gz: 29e983435d4453536274e98ae873146fa148b9fbcd0070ea3860335f9e6be658
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 892206424507b0a0cf348f663a0e173c753a05a39f985c2af9256f846f05664211abaa98da56c0b8ec0b0f8c068c785ae0db90a54cd98e7391db0796150c9d53
|
|
7
|
+
data.tar.gz: a0009126f277e13d73140dba695ef0caa263194876c399040e372222b8a2e928d11dcfc7b3610e3e3dc7b17f586975e90f89011071e02572865600f0c38ed4e7
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [4.0.1] - 2019-06-21
|
|
9
|
+
### Fixed
|
|
10
|
+
- Fix for JSON.parse in metrics checks commands that inheret from Sensu::Plugin::Metric::CLI::JSON:Class
|
|
11
|
+
|
|
8
12
|
## [4.0.0] - 2019-05-07
|
|
9
13
|
### Breaking Changes
|
|
10
14
|
- Bump `sensu-plugin` dependency from `~> 3.0` to `~> 4.0` you can read the changelog entries for [4.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#400---2018-02-17), [3.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#300---2018-12-04), and [2.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v200---2017-03-29)
|
|
@@ -267,7 +271,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
|
267
271
|
- initial release
|
|
268
272
|
|
|
269
273
|
|
|
270
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/4.0.
|
|
274
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/4.0.1...HEAD
|
|
275
|
+
[4.0.1]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/4.0.0...4.0.1
|
|
271
276
|
[4.0.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/3.0.0...4.0.0
|
|
272
277
|
[3.0.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/2.1.0...3.0.0
|
|
273
278
|
[2.1.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/2.0.1...2.1.0
|
data/bin/metrics-es-cluster.rb
CHANGED
|
@@ -122,7 +122,7 @@ class ESClusterMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
|
122
122
|
timeout: config[:timeout],
|
|
123
123
|
headers: headers)
|
|
124
124
|
end
|
|
125
|
-
JSON.parse(r.get)
|
|
125
|
+
::JSON.parse(r.get)
|
|
126
126
|
rescue Errno::ECONNREFUSED
|
|
127
127
|
warning 'Connection refused'
|
|
128
128
|
rescue RestClient::RequestTimeout
|
|
@@ -142,7 +142,7 @@ class ESNodeGraphiteMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
|
142
142
|
timeout: config[:timeout],
|
|
143
143
|
headers: headers)
|
|
144
144
|
end
|
|
145
|
-
JSON.parse(r.get)
|
|
145
|
+
::JSON.parse(r.get)
|
|
146
146
|
rescue Errno::ECONNREFUSED
|
|
147
147
|
warning 'Connection refused'
|
|
148
148
|
rescue RestClient::RequestTimeout
|
data/bin/metrics-es-node.rb
CHANGED
|
@@ -103,7 +103,7 @@ class ESMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
|
103
103
|
timeout: config[:timeout],
|
|
104
104
|
headers: headers)
|
|
105
105
|
end
|
|
106
|
-
JSON.parse(r.get)
|
|
106
|
+
::JSON.parse(r.get)
|
|
107
107
|
rescue Errno::ECONNREFUSED
|
|
108
108
|
warning 'Connection refused'
|
|
109
109
|
rescue RestClient::RequestTimeout
|
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: 4.0.
|
|
4
|
+
version: 4.0.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: 2019-
|
|
11
|
+
date: 2019-06-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-es-transport
|
|
@@ -343,7 +343,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
343
343
|
- !ruby/object:Gem::Version
|
|
344
344
|
version: '0'
|
|
345
345
|
requirements: []
|
|
346
|
-
rubygems_version: 3.0.
|
|
346
|
+
rubygems_version: 3.0.4
|
|
347
347
|
signing_key:
|
|
348
348
|
specification_version: 4
|
|
349
349
|
summary: Sensu plugins for elasticsearch
|