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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c4af6295e3502323bc33b8a0c7e8468fa0bc049
4
- data.tar.gz: 7cf40311405259b11315d2266fc1d28b35faa0ef
3
+ metadata.gz: ed699b605f7a834ca8cf0052ca50eda76337f881
4
+ data.tar.gz: 04a21974523874b69f4555ef5b1f592cd88e1d7f
5
5
  SHA512:
6
- metadata.gz: 6b8628a015ddb462ef3c0ad1e2136c7e260dc9a0c9ee4a8c02d9fcff94a5546ad6a70c1a87a0d98d2d574812f3d37b8debcbcf6fc6b703ce8c5446fe1e0ac0c1
7
- data.tar.gz: 8267f2febc301f37f6d0adb030484da3f70f59c5d85e9ecf1ef07a244c5aaed9ccc7076f7ffafd871af0d09651c1e3688325b034226fa68083ab16cb31786209
6
+ metadata.gz: 07e1ef662505c7ef3cb94d4d33beaf0ebbeec0c4730848db0bb3530eb2565e72aa2527b852fa0d634ef7ad8df11ad57a7f14b8d120f71225179613e84863f7a1
7
+ data.tar.gz: f79cd6141ccdc619274a2c8066fc76d7a55df64e0968f409429a2683c385c8a0841de10bb3162972b14a52e1c403a080e66420e5ca1da2970f6f53981c2efedd
@@ -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.0...HEAD
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 =~ 'backing_queue_status.avg'
148
+ if metric =~ /backing_queue_status.avg/
149
149
  value = format('%.4f', value)
150
150
  metric = metric.split('.')[-1]
151
151
  end
@@ -2,7 +2,7 @@ module SensuPluginsRabbitMQ
2
2
  module Version
3
3
  MAJOR = 3
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-rabbitmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
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-16 00:00:00.000000000 Z
11
+ date: 2017-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin