sensu-plugins-rabbitmq 4.1.0 → 4.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 +4 -4
- data/CHANGELOG.md +6 -1
- data/bin/metrics-rabbitmq-queue.rb +5 -0
- data/lib/sensu-plugins-rabbitmq/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae4e7f75597a2ab7f8c8a252c8c3d3f57051b054061863b7cb7ff4b162af32d8
|
|
4
|
+
data.tar.gz: 41f9e3892927a989c24633b2cbe081db42afc2ddfd72251798cea83a339a030c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a38464155c7b03dae4cf2fc03daf95d57cdbeb5a733418b30d4bb55430a79e064fd84e8344ee3be7f298f39f01d935dc010887188f444d51604d8f8051edc417
|
|
7
|
+
data.tar.gz: efb305ecf9b56d59b86d8bcb18d151960a4506c9c15925e7cb5a524502827713e7b61e20869c4fb660329fbf2c6a8f6a7c80fa17f506889307a96637c105ec9e
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [4.1.1] - 2018-04-03
|
|
9
|
+
### Fixed
|
|
10
|
+
- metrics-rabbitmq-queue.rb: fix metrics collection under corrupted RabbitMQ cluster circumstances (@multani)
|
|
11
|
+
|
|
8
12
|
## [4.1.0] - 2018-03-31
|
|
9
13
|
### Added
|
|
10
14
|
- check-rabbitmq-queues-synchronised.rb: Allow skipping of ssl cert verification, similar to other checks (@mattdoller)
|
|
@@ -188,7 +192,8 @@ NOTE: this release changes the option flags in check-rabbitmq-node-health.rb to
|
|
|
188
192
|
- Remove copy paste errors in the Readme
|
|
189
193
|
- Removed Rubygems require Ruby 1.8.7 backwards compatibility from all plugins
|
|
190
194
|
|
|
191
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/4.1.
|
|
195
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/4.1.1...HEAD
|
|
196
|
+
[4.1.1]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/4.1.0...4.1.1
|
|
192
197
|
[4.1.0]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/4.0.1...4.1.0
|
|
193
198
|
[4.0.1]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/4.0.0...4.0.1
|
|
194
199
|
[4.0.0]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/3.6.0..4.0.0
|
|
@@ -45,6 +45,11 @@ class RabbitMQQueueMetrics < Sensu::Plugin::RabbitMQ::Metrics
|
|
|
45
45
|
def run
|
|
46
46
|
timestamp = Time.now.to_i
|
|
47
47
|
acquire_rabbitmq_info(:queues).each do |queue|
|
|
48
|
+
# The queue might be reported by the API but its metrics somehow
|
|
49
|
+
# "corrupted". In this case, it doesn't have the ``backing_queue_status``
|
|
50
|
+
# attribute set.
|
|
51
|
+
next unless queue['backing_queue_status']
|
|
52
|
+
|
|
48
53
|
if config[:filter]
|
|
49
54
|
next unless queue['name'].match(config[:filter])
|
|
50
55
|
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: 4.1.
|
|
4
|
+
version: 4.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: 2018-03
|
|
11
|
+
date: 2018-04-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|