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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 957f34325be952bcf0e1bfb980fa3f25ed67edd23d66bcbf0ed15c25a5c3d2b8
4
- data.tar.gz: 00ff920d91777118af5392344d26f7f465dba5443dc6be951fd38ff63ce5858d
3
+ metadata.gz: 806dbf0a9cc6dc92655983a3da3ccde0cb58e878c89d6da1409dd563499c8476
4
+ data.tar.gz: b4f2abeb38d01f37584e6d123dfbccd7d659ea849e8337b4d7d16febad86d001
5
5
  SHA512:
6
- metadata.gz: b9b6cc38278007eb3d4f477730ebe810fddc2470e09d1a5d5d8214b788c3475977dff6e06819bf8a1aa25505d6ef2dd1177e0c5e74a740d42b780c33216d068a
7
- data.tar.gz: 3d8ec6d41fcc4733ccf0947b4e05bd55350e0a220f4a09fe5a2ce4e62933488b59b433fdd0f5513486be58b31963a3832b591e57162f640ac282ebe3d079c954
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.2...HEAD
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(/(\w+)/)[0].to_sym }
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]
@@ -4,7 +4,7 @@ module SensuPluginsHAProxy
4
4
  module Version
5
5
  MAJOR = 2
6
6
  MINOR = 0
7
- PATCH = 2
7
+ PATCH = 3
8
8
 
9
9
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
10
10
  end
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.2
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: 2020-03-09 00:00:00.000000000 Z
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
- rubyforge_project:
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