sensu-plugins-haproxy 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/CHANGELOG.md +6 -1
- data/README.md +1 -1
- data/bin/metrics-haproxy.rb +1 -0
- data/lib/sensu-plugins-haproxy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MGJjNWM2MGYyZTUxMTQ1NGJiZjBhOTVkN2EyYmUwOTgwOWFlYjY0ZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZmRiNTQ2ZWE1MTgwMGU1ZDEzYWE0NTZjZDNhZTllMDM4MGM3ZWQxMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YmQ4MTkxOWIyNjZmYjRiYjJjMThkMGU0M2Y3NGYxYzMwYzkxYTM5NmMzYWRk
|
10
|
+
NzQ5ZWI5NWRjODNiNDk5OTQxMmIyOWE2ODlhYjU2NDE3NDA4MTYyODE2MGM2
|
11
|
+
OTEwZjJhOWJhYzVjZmEyNzI2MzRiZWM3MDdiMTc5NmQ3YjcwMzU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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.
|
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
|
-
[
|
3
|
+
[](https://travis-ci.org/sensu-plugins/sensu-plugins-haproxy)
|
4
4
|
[](http://badge.fury.io/rb/sensu-plugins-haproxy)
|
5
5
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-haproxy)
|
6
6
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-haproxy)
|
data/bin/metrics-haproxy.rb
CHANGED
@@ -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?
|
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.
|
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-
|
11
|
+
date: 2016-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|