sensu-plugins-rabbitmq 7.0.0 → 7.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3eeb2df7e7af321a4f385837ea86cb5c16609798
4
- data.tar.gz: 49ba4bbe62ce65393e72c21322fded9adb3e3df1
2
+ SHA256:
3
+ metadata.gz: 2e7f1ee623c2d19fa8e8063799e81b461640d0151acf6b6b60c6e7807d214759
4
+ data.tar.gz: 5b57693fadf7e679c8b06376b1bb0ee534f5a56a42ef321cd43c49c84f1129c9
5
5
  SHA512:
6
- metadata.gz: e2307562515316b05d9148de0f143f4c7f23c3bedeaf06deb7897aafb36ace87649bfe21521312b53be00ca0f13c62678b00586d1e603be3cf17d2f1bfcc1de8
7
- data.tar.gz: fca11d42b449ddeddf825442f6b38771029e5a35b5222abb0c0f90dd786a97916579596ad1c4691bc52d8a9246d68f6d3190da63bcbf8c211c5e3c7add816ce4
6
+ metadata.gz: f3b7064da9917e57a85b2481b9e77ab8baa80e1292a374d6093f8c05114ce8dd903b52c99d41c9a8b3bc1a409e6ca9df4e7bb9358cd88db13bf63fbd462f6738
7
+ data.tar.gz: b19614394465a0aa2768e1b85439bc6e9c21ad92ea3605e844779585f2faed58eef30e3ef7d6b5be35d8c67e43298db664a6ed1b0fc611705c451a1b5d55da47
@@ -5,6 +5,11 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [7.0.1] - 2019-04-04
9
+ ### Fixed
10
+ - check-rabbitmq-queue-drain-time.rb: perform nil check before checking if zero. bug fix for null pointer exception (@bob2build)
11
+
12
+
8
13
  ## [7.0.0] - 2018-12-15
9
14
  ### Breaking Changes
10
15
  - bumped `sensu-plugin` runtime dependency from `~> 1.2` to `~>` you can read about the relevant important bits [here](https://github.com/sensu-plugins/sensu-plugin/blob/3.0.0/CHANGELOG.md#v200---2017-03-29) and [here](https://github.com/sensu-plugins/sensu-plugin/blob/3.0.0/CHANGELOG.md#v200---2017-03-29) (@dependabot) (@majormoses)
@@ -225,7 +230,8 @@ NOTE: this release changes the option flags in check-rabbitmq-node-health.rb to
225
230
  - Remove copy paste errors in the Readme
226
231
  - Removed Rubygems require Ruby 1.8.7 backwards compatibility from all plugins
227
232
 
228
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/7.0.0...HEAD
233
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/7.0.1...HEAD
234
+ [7.0.1]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/7.0.0...7.0.1
229
235
  [7.0.0]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/6.0.0...7.0.0
230
236
  [6.0.0]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/5.4.0...6.0.0
231
237
  [5.4.0]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/5.3.0...5.4.0
@@ -126,7 +126,7 @@ class CheckRabbitMQQueueDrainTime < Sensu::Plugin::Check::CLI
126
126
 
127
127
  acquire_rabbitmq_queues.each do |queue|
128
128
  # we don't care about empty queues and they'll have an infinite drain time so skip them
129
- next if queue['messages'].zero? || queue['messages'].nil?
129
+ next if queue['messages'].nil? || queue['messages'].zero?
130
130
 
131
131
  # handle rate of zero which is an infinite time until empty
132
132
  if queue['backing_queue_status']['avg_egress_rate'].to_f.zero?
@@ -4,7 +4,7 @@ module SensuPluginsRabbitMQ
4
4
  module Version
5
5
  MAJOR = 7
6
6
  MINOR = 0
7
- PATCH = 0
7
+ PATCH = 1
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-rabbitmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 7.0.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: 2018-12-15 00:00:00.000000000 Z
11
+ date: 2019-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin
@@ -297,22 +297,22 @@ description: |-
297
297
  via `rabbitmq_management`, and more
298
298
  email: "<sensu-users@googlegroups.com>"
299
299
  executables:
300
- - check-rabbitmq-queues-synchronised.rb
301
- - check-rabbitmq-messages.rb
300
+ - metrics-rabbitmq-exchange.rb
301
+ - check-rabbitmq-network-partitions.rb
302
302
  - check-rabbitmq-consumer-utilisation.rb
303
303
  - check-rabbitmq-amqp-alive.rb
304
- - check-rabbitmq-queue.rb
305
304
  - check-rabbitmq-node-health.rb
306
- - check-rabbitmq-stomp-alive.rb
307
- - metrics-rabbitmq-overview.rb
308
- - check-rabbitmq-network-partitions.rb
309
- - check-rabbitmq-cluster-health.rb
310
- - metrics-rabbitmq-exchange.rb
311
305
  - metrics-rabbitmq-queue.rb
306
+ - check-rabbitmq-queue.rb
307
+ - check-rabbitmq-cluster-health.rb
308
+ - metrics-rabbitmq-overview.rb
312
309
  - check-rabbitmq-queue-drain-time.rb
313
310
  - check-rabbitmq-node-usage.rb
314
- - check-rabbitmq-consumers.rb
315
311
  - check-rabbitmq-alive.rb
312
+ - check-rabbitmq-consumers.rb
313
+ - check-rabbitmq-stomp-alive.rb
314
+ - check-rabbitmq-queues-synchronised.rb
315
+ - check-rabbitmq-messages.rb
316
316
  extensions: []
317
317
  extra_rdoc_files: []
318
318
  files:
@@ -365,8 +365,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
365
365
  - !ruby/object:Gem::Version
366
366
  version: '0'
367
367
  requirements: []
368
- rubyforge_project:
369
- rubygems_version: 2.6.11
368
+ rubygems_version: 3.0.3
370
369
  signing_key:
371
370
  specification_version: 4
372
371
  summary: Sensu plugins for rabbitmq