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 +5 -5
- data/CHANGELOG.md +7 -1
- data/bin/check-rabbitmq-queue-drain-time.rb +1 -1
- data/lib/sensu-plugins-rabbitmq/version.rb +1 -1
- metadata +12 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 2e7f1ee623c2d19fa8e8063799e81b461640d0151acf6b6b60c6e7807d214759
|
|
4
|
+
data.tar.gz: 5b57693fadf7e679c8b06376b1bb0ee534f5a56a42ef321cd43c49c84f1129c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f3b7064da9917e57a85b2481b9e77ab8baa80e1292a374d6093f8c05114ce8dd903b52c99d41c9a8b3bc1a409e6ca9df4e7bb9358cd88db13bf63fbd462f6738
|
|
7
|
+
data.tar.gz: b19614394465a0aa2768e1b85439bc6e9c21ad92ea3605e844779585f2faed58eef30e3ef7d6b5be35d8c67e43298db664a6ed1b0fc611705c451a1b5d55da47
|
data/CHANGELOG.md
CHANGED
|
@@ -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.
|
|
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'].
|
|
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?
|
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.
|
|
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:
|
|
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
|
-
-
|
|
301
|
-
- check-rabbitmq-
|
|
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
|
-
|
|
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
|