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 +4 -4
- data/CHANGELOG.md +6 -1
- data/bin/check-es-circuit-breakers.rb +1 -1
- data/bin/check-es-cluster-status.rb +1 -1
- data/bin/check-es-file-descriptors.rb +1 -1
- data/bin/check-es-heap.rb +1 -1
- data/bin/check-es-node-status.rb +1 -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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90f68bc8460ddd66cbb39d313cf34d26f37964b9
|
4
|
+
data.tar.gz: d8e336cddc50152ed54b70560888df7cb000126a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12a417c9e0484cfdfd8e255b1ceffefe790dc9ca8f939af826d284f1dff4bd8eb4e2d829e360e42269a5a6f0624fbebaf77f2effed5fba696ccc44196d21cbee
|
7
|
+
data.tar.gz: 913badc45c5770c4be3204ea1c084d4e94aef760c122f5b10160bd6e7958544baff34837f2ca1f0a956df475a729d3a9f34fd2165a102efc75ade2c114163624
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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.
|
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.
|
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.
|
88
|
+
auth = 'Basic ' + Base64.strict_encode64("#{config[:user]}:#{config[:password]}").chomp
|
89
89
|
headers = { 'Authorization' => auth }
|
90
90
|
end
|
91
91
|
|
data/bin/check-es-heap.rb
CHANGED
@@ -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.
|
101
|
+
auth = 'Basic ' + Base64.strict_encode64("#{config[:user]}:#{config[:password]}").chomp
|
102
102
|
headers = { 'Authorization' => auth }
|
103
103
|
end
|
104
104
|
|
data/bin/check-es-node-status.rb
CHANGED
@@ -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.
|
74
|
+
auth = 'Basic ' + Base64.strict_encode64("#{config[:user]}:#{config[:password]}").chomp
|
75
75
|
headers = { 'Authorization' => auth }
|
76
76
|
end
|
77
77
|
|
data/bin/metrics-es-cluster.rb
CHANGED
@@ -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.
|
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.
|
121
|
+
auth = 'Basic ' + Base64.strict_encode64("#{config[:user]}:#{config[:password]}").chomp
|
122
122
|
headers = { 'Authorization' => auth }
|
123
123
|
end
|
124
124
|
|
data/bin/metrics-es-node.rb
CHANGED
@@ -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.
|
82
|
+
auth = 'Basic ' + Base64.strict_encode64("#{config[:user]}:#{config[:password]}").chomp
|
83
83
|
headers = { 'Authorization' => auth }
|
84
84
|
end
|
85
85
|
|
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.
|
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-
|
11
|
+
date: 2017-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|