sensu-plugins-elasticsearch 4.2.0 → 4.2.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
  SHA256:
3
- metadata.gz: 4e7440d64bed250aecd087a802774e026603cdf91a6801793087b46f0799a5f2
4
- data.tar.gz: a94afee3c03ac76a0487c0911873302d7af9ad381ee4cef9bb80eb1f21558407
3
+ metadata.gz: 5cc6e382b81ced2742f38d8e269f91334c9dfb22b7e1b3f81004a192493d82a0
4
+ data.tar.gz: 9c25eb061a1ec5bf71fbd26050bf32741df93e78ecc8d837c040136927eda3e3
5
5
  SHA512:
6
- metadata.gz: 6456733afdb0939fff85b41192056b044fa1327352b37aa685118fb9d19b117d288bdddc3811c3be70888e8234c008f22abf02c35965633df1b05f8a7a3313c5
7
- data.tar.gz: f116ec3d453f75b98f8145f1fd459ff516dad7d4b81ec7d1ae1a8ffe7846096a7380159735ee2befee1b143239760c8e4f97a996ffc2a61823e2ed5c4d87919f
6
+ metadata.gz: c4733360bb8e7c8c03ddb25e9cb8e8445e3e306eb0f69d31860a100c802acd836dfc9f2de0a21a43842c04c58f5a659b296a194ab3e8913fb4079b7af30b2abf
7
+ data.tar.gz: e8327d1f1c275d376fc160ae56eda1ddca0e000ba9cdb9a0cf57b524768c067dfe87cbc4a16d097e5e8e0a52572fb141e4a11422b568c50f905adba7c0941c54
@@ -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.2.1] 2020-12-09
9
+ ### Fixed
10
+ - metrics-es-node-graphite.rb: request URL now constructed correctly when `--cert-file` flag is used
11
+
8
12
  ## [4.2.0] 2020-05-11
9
13
  ### Added
10
14
  - Updated asset build targets to support centos6
@@ -281,7 +285,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
281
285
  - initial release
282
286
 
283
287
 
284
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/4.2.0...HEAD
288
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/4.2.1...HEAD
289
+ [4.2.1]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/4.2.0...4.2.1
285
290
  [4.2.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/4.1.0...4.2.0
286
291
  [4.1.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/4.0.1...4.1.0
287
292
  [4.0.1]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/4.0.0...4.0.1
@@ -133,7 +133,7 @@ class ESNodeGraphiteMetrics < Sensu::Plugin::Metric::CLI::Graphite
133
133
  end
134
134
 
135
135
  r = if config[:cert_file]
136
- RestClient::Resource.new("#{protocol}://#{config[:host]}:#{config[:port]}#{resource}",
136
+ RestClient::Resource.new("#{protocol}://#{config[:server]}:#{config[:port]}#{resource}?pretty",
137
137
  ssl_ca_file: config[:cert_file].to_s,
138
138
  timeout: config[:timeout],
139
139
  headers: headers)
@@ -2,7 +2,7 @@ module SensuPluginsElasticsearch
2
2
  module Version
3
3
  MAJOR = 4
4
4
  MINOR = 2
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: 4.2.0
4
+ version: 4.2.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: 2020-05-11 00:00:00.000000000 Z
11
+ date: 2020-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-es-transport
@@ -28,28 +28,28 @@ dependencies:
28
28
  name: aws-sdk
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.1'
31
34
  - - ">="
32
35
  - !ruby/object:Gem::Version
33
36
  version: 2.1.14
34
37
  - - "<"
35
38
  - !ruby/object:Gem::Version
36
39
  version: '2.5'
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '2.1'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '2.1'
44
47
  - - ">="
45
48
  - !ruby/object:Gem::Version
46
49
  version: 2.1.14
47
50
  - - "<"
48
51
  - !ruby/object:Gem::Version
49
52
  version: '2.5'
50
- - - "~>"
51
- - !ruby/object:Gem::Version
52
- version: '2.1'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: elasticsearch
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -152,22 +152,22 @@ dependencies:
152
152
  name: mixlib-shellout
153
153
  requirement: !ruby/object:Gem::Requirement
154
154
  requirements:
155
- - - "<"
156
- - !ruby/object:Gem::Version
157
- version: 2.3.0
158
155
  - - "~>"
159
156
  - !ruby/object:Gem::Version
160
157
  version: '2.2'
158
+ - - "<"
159
+ - !ruby/object:Gem::Version
160
+ version: 2.3.0
161
161
  type: :development
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - "<"
166
- - !ruby/object:Gem::Version
167
- version: 2.3.0
168
165
  - - "~>"
169
166
  - !ruby/object:Gem::Version
170
167
  version: '2.2'
168
+ - - "<"
169
+ - !ruby/object:Gem::Version
170
+ version: 2.3.0
171
171
  - !ruby/object:Gem::Dependency
172
172
  name: pry
173
173
  requirement: !ruby/object:Gem::Requirement
@@ -188,14 +188,14 @@ dependencies:
188
188
  requirements:
189
189
  - - "~>"
190
190
  - !ruby/object:Gem::Version
191
- version: '10.0'
191
+ version: '13.0'
192
192
  type: :development
193
193
  prerelease: false
194
194
  version_requirements: !ruby/object:Gem::Requirement
195
195
  requirements:
196
196
  - - "~>"
197
197
  - !ruby/object:Gem::Version
198
- version: '10.0'
198
+ version: '13.0'
199
199
  - !ruby/object:Gem::Dependency
200
200
  name: redcarpet
201
201
  requirement: !ruby/object:Gem::Requirement
@@ -343,8 +343,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
343
343
  - !ruby/object:Gem::Version
344
344
  version: '0'
345
345
  requirements: []
346
- rubyforge_project:
347
- rubygems_version: 2.7.7
346
+ rubygems_version: 3.0.8
348
347
  signing_key:
349
348
  specification_version: 4
350
349
  summary: Sensu plugins for elasticsearch