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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff441b28569e32299a4a695b8af428534686d6d0d44bafd91902416f4f3d02fa
4
- data.tar.gz: 4db5085265df599bb08003c5270f675bd9c782206642842d5a5725e34eb644c7
3
+ metadata.gz: ae4e7f75597a2ab7f8c8a252c8c3d3f57051b054061863b7cb7ff4b162af32d8
4
+ data.tar.gz: 41f9e3892927a989c24633b2cbe081db42afc2ddfd72251798cea83a339a030c
5
5
  SHA512:
6
- metadata.gz: 49425a9d41ce38470a2d0becfbecf924424278c0c5906e6dcea4866b903aa204b8645e9076b147c8ff0f8b0a23352abe3f2f51e03d16e97d63ed16e0a8f1ffcd
7
- data.tar.gz: c94f8fffc7bd3d8d9c945991f0a15c7b80da282f7f2b16948df058cd5cea24d94b9c74443c118db739ee7f92dc5207fd8473d1b772f8bc43de23935267669efb
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.0...HEAD
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
@@ -4,7 +4,7 @@ module SensuPluginsRabbitMQ
4
4
  module Version
5
5
  MAJOR = 4
6
6
  MINOR = 1
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: 4.1.0
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-31 00:00:00.000000000 Z
11
+ date: 2018-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin