sensu-plugins-rabbitmq 3.1.0 → 3.1.1
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/metrics-rabbitmq-queue.rb +1 -1
- data/lib/sensu-plugins-rabbitmq/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: ed699b605f7a834ca8cf0052ca50eda76337f881
|
4
|
+
data.tar.gz: 04a21974523874b69f4555ef5b1f592cd88e1d7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07e1ef662505c7ef3cb94d4d33beaf0ebbeec0c4730848db0bb3530eb2565e72aa2527b852fa0d634ef7ad8df11ad57a7f14b8d120f71225179613e84863f7a1
|
7
|
+
data.tar.gz: f79cd6141ccdc619274a2c8066fc76d7a55df64e0968f409429a2683c385c8a0841de10bb3162972b14a52e1c403a080e66420e5ca1da2970f6f53981c2efedd
|
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
|
+
## [3.1.1] - 2017-05-17
|
8
|
+
### Fixed
|
9
|
+
- metrics-rabbitmq-queue.rb: Fix use of =~ operator
|
10
|
+
|
7
11
|
## [3.1.0] - 2017-05-16
|
8
12
|
### Added
|
9
13
|
- metrics-rabbitmq-queue.rb: --metrics option to specifiy which metrics to gather (@rthouvenin)
|
@@ -133,7 +137,8 @@ NOTE: this release changes the option flags in check-rabbitmq-node-health.rb to
|
|
133
137
|
- Remove copy paste errors in the Readme
|
134
138
|
- Removed Rubygems require Ruby 1.8.7 backwards compatibility from all plugins
|
135
139
|
|
136
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/3.1.
|
140
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/3.1.1...HEAD
|
141
|
+
[3.1.1]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/3.1.0...3.1.1
|
137
142
|
[3.1.0]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/3.0.0...3.1.0
|
138
143
|
[3.0.0]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/2.3.0...3.0.0
|
139
144
|
[2.3.0]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/2.2.0...2.3.0
|
@@ -145,7 +145,7 @@ class RabbitMQMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
145
145
|
next unless metric.match(config[:metrics])
|
146
146
|
value = queue.dig(*metric.split('.'))
|
147
147
|
# Special case of ingress and egress rates for backward-compatibility
|
148
|
-
if metric =~
|
148
|
+
if metric =~ /backing_queue_status.avg/
|
149
149
|
value = format('%.4f', value)
|
150
150
|
metric = metric.split('.')[-1]
|
151
151
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-rabbitmq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.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: 2017-05-
|
11
|
+
date: 2017-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|