sensu-plugins-haproxy 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjBkMWU0ZTg2NDliZWYwMjBmOGRhNzg1ZDNhMzcyOTMyYTc3NTk4ZQ==
4
+ MGJjNWM2MGYyZTUxMTQ1NGJiZjBhOTVkN2EyYmUwOTgwOWFlYjY0ZQ==
5
5
  data.tar.gz: !binary |-
6
- YjM3ZTFhZDNlZjJmMGQ2N2U3NWYwMGQzZDg4YTVlYzU1Y2MyZGU2OQ==
6
+ ZmRiNTQ2ZWE1MTgwMGU1ZDEzYWE0NTZjZDNhZTllMDM4MGM3ZWQxMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDA4ZDk4N2ViMjk0ZDRkNjFiZDlmYWFjOWU5NzNlZWNlODM2ZTZkNjI0N2M0
10
- YzE3ZGU0NTc0NDkzZGI0NTM3OGU2NzQ5NzlkMTY5OTA0MDYzZWZmYTcxZTJi
11
- NDQ5ZjhlZDY3NTk4NzBmY2U2MDdiNTlmOGQ5MDllZTg5MzllOWM=
9
+ YmQ4MTkxOWIyNjZmYjRiYjJjMThkMGU0M2Y3NGYxYzMwYzkxYTM5NmMzYWRk
10
+ NzQ5ZWI5NWRjODNiNDk5OTQxMmIyOWE2ODlhYjU2NDE3NDA4MTYyODE2MGM2
11
+ OTEwZjJhOWJhYzVjZmEyNzI2MzRiZWM3MDdiMTc5NmQ3YjcwMzU=
12
12
  data.tar.gz: !binary |-
13
- M2JhMzgwOTE5MWRiNGU1Y2EzMmNjNzk2ODBhMTg5MDI5MTM2MmM1ZjRlMWY1
14
- M2EwYmE5NDBjYTY4YWQ4MWVmYjNkZWIyYWFhOWY1OTM0OThhZGU5MWIzODRh
15
- ZWNlYjQyM2FiZTkxM2VlMzY4ZTMzOTNjZWMxMjY2MjRiYzk2YTk=
13
+ MjU0ZDlmNjkzMDZjNTRmODRjYzZlNDUyMDJmOGIzMzNhMWY2ZTBjNTE1MWY3
14
+ NzY1ZjQ2NmRkMDU1NjlkYTFiYjIyYzY4ZTAxNjkzNjFhZjhhZTJkYjUzNzdm
15
+ ZTA1OWY4ZDA3OTI0MTIxYTBlNmUxYmY0MDY0NTJjMDllZGJlOTQ=
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.1.1] - 2016-04-23
9
+ ### Added
10
+ - added session_current to output for server_metrics
11
+
8
12
  ## [0.1.0] - 2016-03-04
9
13
  ### Added
10
14
  - added `num_up` metric for each backend set showing the number of available backends
@@ -37,7 +41,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
37
41
  ### Added
38
42
  - initial release
39
43
 
40
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/0.1.0...HEAD
44
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/0.1.1...HEAD
45
+ [0.1.1]: https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/0.1.0...0.1.1
41
46
  [0.1.0]: https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/0.0.5...0.1.0
42
47
  [0.0.5]: https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/0.0.4...0.0.5
43
48
  [0.0.4]: https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/0.0.3...0.0.4
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Sensu-Plugins-haproxy
2
2
 
3
- [ ![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-haproxy.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-haproxy)
3
+ [![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-haproxy.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-haproxy)
4
4
  [![Gem Version](https://badge.fury.io/rb/sensu-plugins-haproxy.svg)](http://badge.fury.io/rb/sensu-plugins-haproxy)
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-haproxy/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-haproxy)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-haproxy/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-haproxy)
@@ -175,6 +175,7 @@ class HAProxyMetrics < Sensu::Plugin::Metric::CLI::Graphite
175
175
  output "#{config[:scheme]}.#{line[0]}.average_time", line[61]
176
176
  elsif config[:server_metrics]
177
177
  output "#{config[:scheme]}.#{line[0]}.#{line[1]}.session_total", line[7]
178
+ output "#{config[:scheme]}.#{line[0]}.#{line[1]}.session_current", line[4]
178
179
  end
179
180
 
180
181
  if line[1] != 'BACKEND' && !line[1].nil?
@@ -2,7 +2,7 @@ module SensuPluginsHAProxy
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
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-haproxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.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: 2016-03-04 00:00:00.000000000 Z
11
+ date: 2016-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin