sensu-plugins-haproxy 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/bin/check-haproxy.rb +1 -1
- data/lib/sensu-plugins-haproxy/version.rb +1 -1
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 806dbf0a9cc6dc92655983a3da3ccde0cb58e878c89d6da1409dd563499c8476
|
4
|
+
data.tar.gz: b4f2abeb38d01f37584e6d123dfbccd7d659ea849e8337b4d7d16febad86d001
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7840fdfb6c99cd5f19afe93580131dde5d21fd911adacd9aad3be262249b2605936009306cb53f659b2eb99ba351b31d9721c27564a6faf576109b3c997a2df2
|
7
|
+
data.tar.gz: 9bf91a2e2958c7621814c0509ec43a746478f5268b6486235e5398f4203705e915772d9d4223c1227c17a2f2d788c7e9a3b62e93d72a385af11ddad300825095
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,11 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [2.0.3] - 2022-01-26
|
11
|
+
|
12
|
+
###Fixed
|
13
|
+
- 'check-haproxy.rb': Compatibility with HAProxy 2.3.0
|
14
|
+
|
10
15
|
## [2.0.2] - 2020-03-09
|
11
16
|
|
12
17
|
### Changed
|
@@ -105,7 +110,8 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|
105
110
|
### Added
|
106
111
|
- initial release
|
107
112
|
|
108
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/2.0.
|
113
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/2.0.3...HEAD
|
114
|
+
[2.0.3]: https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/2.0.2...2.0.3
|
109
115
|
[2.0.2]:https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/2.0.1...2.0.2
|
110
116
|
[2.0.1]:https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/2.0.0...2.0.1
|
111
117
|
[2.0.0]:https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/1.4.0...2.0.0
|
data/bin/check-haproxy.rb
CHANGED
@@ -223,7 +223,7 @@ class CheckHAProxy < Sensu::Plugin::Check::CLI
|
|
223
223
|
end
|
224
224
|
|
225
225
|
parsed = CSV.parse(out, skip_blanks: true)
|
226
|
-
keys = parsed.shift.reject(&:nil?).map { |k| k.match(/(
|
226
|
+
keys = parsed.shift.reject(&:nil?).map { |k| k.match(/([(\-)?\w]+)/)[0].to_sym }
|
227
227
|
haproxy_stats = parsed.map { |line| Hash[keys.zip(line)] }
|
228
228
|
|
229
229
|
if config[:all_services]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-haproxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
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:
|
11
|
+
date: 2022-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|
@@ -156,8 +156,8 @@ description: |-
|
|
156
156
|
service health and backend server metrics.
|
157
157
|
email: "<sensu-users@googlegroups.com>"
|
158
158
|
executables:
|
159
|
-
- check-haproxy.rb
|
160
159
|
- metrics-haproxy.rb
|
160
|
+
- check-haproxy.rb
|
161
161
|
extensions: []
|
162
162
|
extra_rdoc_files: []
|
163
163
|
files:
|
@@ -193,8 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
requirements: []
|
196
|
-
|
197
|
-
rubygems_version: 2.7.7
|
196
|
+
rubygems_version: 3.1.2
|
198
197
|
signing_key:
|
199
198
|
specification_version: 4
|
200
199
|
summary: Sensu plugins for haproxy
|