sensu-plugins-rabbitmq 4.0.1 → 4.1.0

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
  SHA256:
3
- metadata.gz: ab83a80013047be3f67a60484fe829eae99c6fdda4c0581382961814834f0c9a
4
- data.tar.gz: 845bc031e0d94225bb678fbcdef541344209f40fe69f115f5bbf947dfa6f0140
3
+ metadata.gz: ff441b28569e32299a4a695b8af428534686d6d0d44bafd91902416f4f3d02fa
4
+ data.tar.gz: 4db5085265df599bb08003c5270f675bd9c782206642842d5a5725e34eb644c7
5
5
  SHA512:
6
- metadata.gz: b12532933f09ee39fa84f07b3813a32e45ec687755912c9c6e5569a5e511975fb40c098ab8525b1e667bdcd62634f7673a00ce4fb92e0943840b73a0f6a9c365
7
- data.tar.gz: 01008fb6ec709bfaa437643ab01a2ab3a5e0286eccb6e03d21fe22bc9d9c7ecf71928b6c6e81ad564a16dd095e6be8afc49fb270a458477adb6c03f5a5b91daf
6
+ metadata.gz: 49425a9d41ce38470a2d0becfbecf924424278c0c5906e6dcea4866b903aa204b8645e9076b147c8ff0f8b0a23352abe3f2f51e03d16e97d63ed16e0a8f1ffcd
7
+ data.tar.gz: c94f8fffc7bd3d8d9c945991f0a15c7b80da282f7f2b16948df058cd5cea24d94b9c74443c118db739ee7f92dc5207fd8473d1b772f8bc43de23935267669efb
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.0] - 2018-03-31
9
+ ### Added
10
+ - check-rabbitmq-queues-synchronised.rb: Allow skipping of ssl cert verification, similar to other checks (@mattdoller)
11
+
8
12
  ## [4.0.1] - 2018-03-27
9
13
  ### Security
10
14
  - updated yard dependency to `~> 0.9.11` per: https://nvd.nist.gov/vuln/detail/CVE-2017-17042 (@majormoses)
@@ -184,7 +188,8 @@ NOTE: this release changes the option flags in check-rabbitmq-node-health.rb to
184
188
  - Remove copy paste errors in the Readme
185
189
  - Removed Rubygems require Ruby 1.8.7 backwards compatibility from all plugins
186
190
 
187
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/4.0.1...HEAD
191
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/4.1.0...HEAD
192
+ [4.1.0]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/4.0.1...4.1.0
188
193
  [4.0.1]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/4.0.0...4.0.1
189
194
  [4.0.0]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/3.6.0..4.0.0
190
195
  [3.6.0]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/3.5.0...3.6.0
@@ -32,6 +32,12 @@ class CheckRabbitMQQueuesSynchronised < Sensu::Plugin::RabbitMQ::Check
32
32
  boolean: true,
33
33
  default: false
34
34
 
35
+ option :verify_ssl_off,
36
+ description: 'Do not check validity of SSL cert. Use for self-signed certs, etc (insecure)',
37
+ long: '--verify_ssl_off',
38
+ boolean: true,
39
+ default: false
40
+
35
41
  def run
36
42
  @crits = []
37
43
 
@@ -64,7 +70,8 @@ class CheckRabbitMQQueuesSynchronised < Sensu::Plugin::RabbitMQ::Check
64
70
  url_prefix = config[:ssl] ? 'https' : 'http'
65
71
  options = {
66
72
  user: config[:username],
67
- password: config[:password]
73
+ password: config[:password],
74
+ verify_ssl: !config[:verify_ssl_off]
68
75
  }
69
76
 
70
77
  resource = RestClient::Resource.new(
@@ -3,8 +3,8 @@
3
3
  module SensuPluginsRabbitMQ
4
4
  module Version
5
5
  MAJOR = 4
6
- MINOR = 0
7
- PATCH = 1
6
+ MINOR = 1
7
+ PATCH = 0
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.0.1
4
+ version: 4.1.0
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-27 00:00:00.000000000 Z
11
+ date: 2018-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin