sensu-plugins-elasticsearch 1.2.0 → 1.3.0

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: 07a6752410931a8f63c7de143df9c84cae249b41
4
- data.tar.gz: c2d1771cde187e3b7f5b4d225428238d18f7966d
3
+ metadata.gz: 90f68bc8460ddd66cbb39d313cf34d26f37964b9
4
+ data.tar.gz: d8e336cddc50152ed54b70560888df7cb000126a
5
5
  SHA512:
6
- metadata.gz: d39482790fdcc0ded89b8f05b5c04ea20cdad77d35926806c3b2adeae691c835f64d2c3a5ae36b49656857038ac7352d5363ac3d45af8f80ce91d96ffcbc7d77
7
- data.tar.gz: 8bce7fd56da1cbf025560a7f4b5a64f7e874166635631304242bbcb52346550e585443c2b581bb82e1feeef934f1c3a470af8c38a68e875da43e2a683c8d272f
6
+ metadata.gz: 12a417c9e0484cfdfd8e255b1ceffefe790dc9ca8f939af826d284f1dff4bd8eb4e2d829e360e42269a5a6f0624fbebaf77f2effed5fba696ccc44196d21cbee
7
+ data.tar.gz: 913badc45c5770c4be3204ea1c084d4e94aef760c122f5b10160bd6e7958544baff34837f2ca1f0a956df475a729d3a9f34fd2165a102efc75ade2c114163624
@@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
  This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
5
5
 
6
6
  ## [Unreleased]
7
+ ## [1.3.0] - 2017-05-08
8
+ ### Fixed
9
+ - Use strict Base64 encoding to fix base64 encoding/netty issue (@msblum)
10
+
7
11
  ## [1.2.0] - 2017-05-03
8
12
  ### Fixed
9
13
  - metrics-es-cluster.rb: Check to see if cluster key exists in transient_settings before trying to use it. (@RAR)
@@ -141,7 +145,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
141
145
  ### Added
142
146
  - initial release
143
147
 
144
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.2.0...HEAD
148
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.3.0...HEAD
149
+ [1.3.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.2.0...1.3.0
145
150
  [1.2.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.1.3...1.2.0
146
151
  [1.1.3]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.1.2...1.1.3
147
152
  [1.1.2]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.1.1...1.1.2
@@ -79,7 +79,7 @@ class ESCircuitBreaker < Sensu::Plugin::Check::CLI
79
79
  def get_es_resource(resource)
80
80
  headers = {}
81
81
  if config[:user] && config[:password]
82
- auth = 'Basic ' + Base64.encode64("#{config[:user]}:#{config[:password]}").chomp
82
+ auth = 'Basic ' + Base64.strict_encode64("#{config[:user]}:#{config[:password]}").chomp
83
83
  headers = { 'Authorization' => auth }
84
84
  end
85
85
 
@@ -86,7 +86,7 @@ class ESClusterStatus < Sensu::Plugin::Check::CLI
86
86
  def get_es_resource(resource)
87
87
  headers = {}
88
88
  if config[:user] && config[:password]
89
- auth = 'Basic ' + Base64.encode64("#{config[:user]}:#{config[:password]}").chomp
89
+ auth = 'Basic ' + Base64.strict_encode64("#{config[:user]}:#{config[:password]}").chomp
90
90
  headers = { 'Authorization' => auth }
91
91
  end
92
92
 
@@ -85,7 +85,7 @@ class ESFileDescriptors < Sensu::Plugin::Check::CLI
85
85
  def get_es_resource(resource)
86
86
  headers = {}
87
87
  if config[:user] && config[:password]
88
- auth = 'Basic ' + Base64.encode64("#{config[:user]}:#{config[:password]}").chomp
88
+ auth = 'Basic ' + Base64.strict_encode64("#{config[:user]}:#{config[:password]}").chomp
89
89
  headers = { 'Authorization' => auth }
90
90
  end
91
91
 
@@ -98,7 +98,7 @@ class ESHeap < Sensu::Plugin::Check::CLI
98
98
  def acquire_es_resource(resource)
99
99
  headers = {}
100
100
  if config[:user] && config[:password]
101
- auth = 'Basic ' + Base64.encode64("#{config[:user]}:#{config[:password]}").chomp
101
+ auth = 'Basic ' + Base64.strict_encode64("#{config[:user]}:#{config[:password]}").chomp
102
102
  headers = { 'Authorization' => auth }
103
103
  end
104
104
 
@@ -71,7 +71,7 @@ class ESNodeStatus < Sensu::Plugin::Check::CLI
71
71
  def get_es_resource(resource)
72
72
  headers = {}
73
73
  if config[:user] && config[:password]
74
- auth = 'Basic ' + Base64.encode64("#{config[:user]}:#{config[:password]}").chomp
74
+ auth = 'Basic ' + Base64.strict_encode64("#{config[:user]}:#{config[:password]}").chomp
75
75
  headers = { 'Authorization' => auth }
76
76
  end
77
77
 
@@ -98,7 +98,7 @@ class ESClusterMetrics < Sensu::Plugin::Metric::CLI::Graphite
98
98
  def get_es_resource(resource)
99
99
  headers = {}
100
100
  if config[:user] && config[:password]
101
- auth = 'Basic ' + Base64.encode64("#{config[:user]}:#{config[:password]}").chomp
101
+ auth = 'Basic ' + Base64.strict_encode64("#{config[:user]}:#{config[:password]}").chomp
102
102
  headers = { 'Authorization' => auth }
103
103
  end
104
104
 
@@ -118,7 +118,7 @@ class ESNodeGraphiteMetrics < Sensu::Plugin::Metric::CLI::Graphite
118
118
  def get_es_resource(resource)
119
119
  headers = {}
120
120
  if config[:user] && config[:password]
121
- auth = 'Basic ' + Base64.encode64("#{config[:user]}:#{config[:password]}").chomp
121
+ auth = 'Basic ' + Base64.strict_encode64("#{config[:user]}:#{config[:password]}").chomp
122
122
  headers = { 'Authorization' => auth }
123
123
  end
124
124
 
@@ -79,7 +79,7 @@ class ESMetrics < Sensu::Plugin::Metric::CLI::Graphite
79
79
  def get_es_resource(resource)
80
80
  headers = {}
81
81
  if config[:user] && config[:password]
82
- auth = 'Basic ' + Base64.encode64("#{config[:user]}:#{config[:password]}").chomp
82
+ auth = 'Basic ' + Base64.strict_encode64("#{config[:user]}:#{config[:password]}").chomp
83
83
  headers = { 'Authorization' => auth }
84
84
  end
85
85
 
@@ -1,7 +1,7 @@
1
1
  module SensuPluginsElasticsearch
2
2
  module Version
3
3
  MAJOR = 1
4
- MINOR = 2
4
+ MINOR = 3
5
5
  PATCH = 0
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
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.2.0
4
+ version: 1.3.0
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-05-04 00:00:00.000000000 Z
11
+ date: 2017-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client