sensu-plugins-rabbitmq 1.1.0 → 1.2.0

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,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b6b47d5fe5c7f7ba2185e35967175435b41e5af6
4
- data.tar.gz: e22d4dfbab93968a46df01cdd6495be4a2e9478b
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ Yzg5YjVhMTQzMDhjZDQwYzU0NTZjMDU2YjdhNTZjYTAzYTY1NzM2NQ==
5
+ data.tar.gz: !binary |-
6
+ MWYzMDVjYWI0YjkyYmNjOWJlNDZkMjliOTdhMGM2NTUxZWUwZjgwOA==
5
7
  SHA512:
6
- metadata.gz: 85bc002ce29af4ebb6fb915719f84be22a884ae279d68891612daab878652da7d233b4af90cf388ed8cd123e99764aa21615560fec40205f1709bf45a81a59f6
7
- data.tar.gz: bc8726279039dd491903f0aeba94ae604af2699e74be4d070a5fcf7e72b743b937daba2a6b22237fbfa0b798d67fbca613d5af6436b6739ecc14223488fdda1f
8
+ metadata.gz: !binary |-
9
+ MGVlYmZjYTliZDI1ZWEwZjM2MzI1MTZlOGY2ZjY4MTBhNTIzNmIzMmVjZmUw
10
+ OGU3MGUxMmUyZmQzYjVlMDc3MzlmZWI0ZDcyZWNkNjM3NmZhM2EwYTRhNGU5
11
+ YTcyMzUxODgwMjc1ZTRiNjNkNTMzMTFkMjAyZGFhODk2OGZjYTY=
12
+ data.tar.gz: !binary |-
13
+ OGIwYTNjMDU3NDg2MTM1ZDUzM2U3ZGZmOWIzOWQwOTYyODNhYmQxZDM0MTgz
14
+ NzQwOGFlNzYyNTI2MjY0YTdlZTM2OTI4MTUyYzJjOWY1NGZjZjUzN2IyNjIw
15
+ NzJiNGViYTU3N2VlOGZiMjBiMGY1NTBlYzEwNjMxMTA5MDY5ODQ=
@@ -3,7 +3,20 @@ This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
4
  This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
5
5
 
6
- ## Unreleased
6
+ ## [Unreleased]
7
+
8
+ ## [1.2.0] - 2016-04-13
9
+ ### Added
10
+ - check-rabbitmq-amqp-alive.rb: Added support for TLS authentication
11
+ - metrics-rabbitmq-queue.rb: Added option to filter vhost with regular expression
12
+ - Added option to skip SSL cert checking
13
+
14
+ ### Fixed
15
+ - check-rabbitmq-queue.rb: Fix default vhost
16
+ - check-rabbitmq-queue-drain-time.rb: Fix logging output and filter
17
+
18
+ ### Changed
19
+ - Update to rubocop 0.37
7
20
 
8
21
  ## [1.1.0] - 2015-12-30
9
22
  ### Added
@@ -37,7 +50,6 @@ NOTE: this release changes the option flags in check-rabbitmq-node-health.rb to
37
50
  - updated sensu-plugin gem to 1.2.0
38
51
 
39
52
  ## 0.0.1 - 2015-05-30
40
-
41
53
  ### Added
42
54
  - Add the ability to monitor all queues in the consumer count plugin
43
55
  - Add ability to exclude specific queues in the consumer count plugin
@@ -65,3 +77,12 @@ NOTE: this release changes the option flags in check-rabbitmq-node-health.rb to
65
77
  ### Removed
66
78
  - Remove copy paste errors in the Readme
67
79
  - Removed Rubygems require Ruby 1.8.7 backwards compatibility from all plugins
80
+
81
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/1.2.0...HEAD
82
+ [1.2.0]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/1.1.0...1.2.0
83
+ [1.1.0]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/1.0.0...1.1.0
84
+ [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/0.1.0...1.0.0
85
+ [0.1.0]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/0.0.4...0.1.0
86
+ [0.0.4]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/0.0.3...0.0.4
87
+ [0.0.3]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/0.0.1...0.0.3
88
+ [0.0.3]: https://github.com/sensu-plugins/sensu-plugins-rabbitmq/compare/0.0.1...0.0.3
data/README.md CHANGED
@@ -5,7 +5,6 @@
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-rabbitmq/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-rabbitmq)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-rabbitmq/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-rabbitmq)
7
7
  [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-rabbitmq.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-rabbitmq)
8
- [![Codeship Status for sensu-plugins/sensu-plugins-rabbitmq](https://codeship.com/projects/524c57f0-e89b-0132-b373-0e94167ad564/status?branch=master)](https://codeship.com/projects/82842)
9
8
 
10
9
  ## Functionality
11
10
 
@@ -63,6 +63,12 @@ class CheckRabbitMQAlive < Sensu::Plugin::Check::CLI
63
63
  boolean: true,
64
64
  default: false
65
65
 
66
+ option :verify_ssl_off,
67
+ description: 'Do not check validity of SSL cert. Use for self-signed certs, etc (insecure)',
68
+ long: '--verify_ssl_off',
69
+ boolean: true,
70
+ default: false
71
+
66
72
  def run
67
73
  res = vhost_alive?
68
74
 
@@ -76,15 +82,21 @@ class CheckRabbitMQAlive < Sensu::Plugin::Check::CLI
76
82
  end
77
83
 
78
84
  def vhost_alive?
79
- host = config[:host]
80
- port = config[:port]
81
- username = config[:username]
82
- password = config[:password]
83
- vhost = config[:vhost]
84
- ssl = config[:ssl]
85
+ host = config[:host]
86
+ port = config[:port]
87
+ username = config[:username]
88
+ password = config[:password]
89
+ vhost = config[:vhost]
90
+ ssl = config[:ssl]
91
+ verify_ssl = config[:verify_ssl_off]
85
92
 
86
93
  begin
87
- resource = RestClient::Resource.new "http#{ssl ? 's' : ''}://#{host}:#{port}/api/aliveness-test/#{vhost}", username, password
94
+ resource = RestClient::Resource.new(
95
+ "http#{ssl ? 's' : ''}://#{host}:#{port}/api/aliveness-test/#{vhost}",
96
+ user: username,
97
+ password: password,
98
+ verify_ssl: !verify_ssl
99
+ )
88
100
  # Attempt to parse response (just to trigger parse exception)
89
101
  _response = JSON.parse(resource.get) == { 'status' => 'ok' }
90
102
  { 'status' => 'ok', 'message' => 'RabbitMQ server is alive' }
@@ -61,6 +61,22 @@ class CheckRabbitAMQPAlive < Sensu::Plugin::Check::CLI
61
61
  boolean: true,
62
62
  default: false
63
63
 
64
+ option :tls_cert,
65
+ description: 'TLS Certificate to use when connecting',
66
+ long: '--tls-cert CERT',
67
+ default: nil
68
+
69
+ option :tls_key,
70
+ description: 'TLS Private Key to use when connecting',
71
+ long: '--tls-key KEY',
72
+ default: nil
73
+
74
+ option :no_verify_peer,
75
+ description: 'Disable peer verification',
76
+ long: '--no-verify-peer',
77
+ boolean: true,
78
+ default: true
79
+
64
80
  def run
65
81
  res = vhost_alive?
66
82
 
@@ -74,15 +90,21 @@ class CheckRabbitAMQPAlive < Sensu::Plugin::Check::CLI
74
90
  end
75
91
 
76
92
  def vhost_alive?
77
- host = config[:host]
78
- port = config[:port]
79
- username = config[:username]
80
- password = config[:password]
81
- vhost = config[:vhost]
82
- ssl = config[:ssl]
93
+ host = config[:host]
94
+ port = config[:port]
95
+ username = config[:username]
96
+ password = config[:password]
97
+ vhost = config[:vhost]
98
+ ssl = config[:ssl]
99
+ tls_cert = config[:tls_cert]
100
+ tls_key = config[:tls_key]
101
+ no_verify_peer = config[:no_verify_peer]
83
102
 
84
103
  begin
85
- conn = Bunny.new("amqp#{ssl ? 's' : ''}://#{username}:#{password}@#{host}:#{port}/#{vhost}")
104
+ conn = Bunny.new("amqp#{ssl ? 's' : ''}://#{username}:#{password}@#{host}:#{port}/#{vhost}",
105
+ tls_cert: tls_cert,
106
+ tls_key: tls_key,
107
+ verify_peer: no_verify_peer)
86
108
  conn.start
87
109
  { 'status' => 'ok', 'message' => 'RabbitMQ server is alive' }
88
110
  rescue Bunny::PossibleAuthenticationFailureError
@@ -67,6 +67,12 @@ class CheckRabbitMQCluster < Sensu::Plugin::Check::CLI
67
67
  boolean: true,
68
68
  default: false
69
69
 
70
+ option :verify_ssl_off,
71
+ description: 'Do not check validity of SSL cert. Use for self-signed certs, etc (insecure)',
72
+ long: '--verify_ssl_off',
73
+ boolean: true,
74
+ default: false
75
+
70
76
  def run
71
77
  res = cluster_healthy?
72
78
 
@@ -95,16 +101,22 @@ class CheckRabbitMQCluster < Sensu::Plugin::Check::CLI
95
101
  end
96
102
 
97
103
  def cluster_healthy?
98
- host = config[:host]
99
- port = config[:port]
100
- username = config[:username]
101
- password = config[:password]
102
- ssl = config[:ssl]
103
- nodes = config[:nodes].split(',')
104
+ host = config[:host]
105
+ port = config[:port]
106
+ username = config[:username]
107
+ password = config[:password]
108
+ ssl = config[:ssl]
109
+ verify_ssl = config[:verify_ssl_off]
110
+ nodes = config[:nodes].split(',')
104
111
 
105
112
  begin
106
- ssl ? url_prefix = 'https' : url_prefix = 'http'
107
- resource = RestClient::Resource.new "#{url_prefix}://#{host}:#{port}/api/nodes", username, password
113
+ url_prefix = ssl ? 'https' : 'http'
114
+ resource = RestClient::Resource.new(
115
+ "#{url_prefix}://#{host}:#{port}/api/nodes",
116
+ user: username,
117
+ password: password,
118
+ verify_ssl: !verify_ssl
119
+ )
108
120
  # create a hash of the server names and their running state
109
121
  servers_status = Hash[JSON.parse(resource.get).map { |server| [server['name'], server['running']] }]
110
122
 
@@ -116,11 +128,11 @@ class CheckRabbitMQCluster < Sensu::Plugin::Check::CLI
116
128
 
117
129
  # build status and message
118
130
  status = failed_nodes.empty? && missing_nodes.empty? ? 'ok' : 'critical'
119
- if failed_nodes.empty?
120
- message = "#{servers_status.keys.count} healthy cluster nodes"
121
- else
122
- message = "#{failed_nodes.count} failed cluster node: #{failed_nodes.sort.join(',')}"
123
- end
131
+ message = if failed_nodes.empty?
132
+ "#{servers_status.keys.count} healthy cluster nodes"
133
+ else
134
+ "#{failed_nodes.count} failed cluster node: #{failed_nodes.sort.join(',')}"
135
+ end
124
136
  message.prepend("#{missing_nodes.count} node(s) not found: #{missing_nodes.join(',')}. ") unless missing_nodes.empty?
125
137
  { 'status' => status, 'message' => message }
126
138
  rescue Errno::ECONNREFUSED => e
@@ -113,11 +113,11 @@ class CheckRabbitMQMessages < Sensu::Plugin::Check::CLI
113
113
  next if config[:excluded].include?(queue['name'])
114
114
  queue['messages'] ||= 0
115
115
  if queue['messages'] >= config[:critical].to_i
116
- crit_queues["#{queue['name']}"] = queue['messages']
116
+ crit_queues[(queue['name']).to_s] = queue['messages']
117
117
  next
118
118
  end
119
119
  if queue['messages'] >= config[:warn].to_i
120
- warn_queues["#{queue['name']}"] = queue['messages']
120
+ warn_queues[(queue['name']).to_s] = queue['messages']
121
121
  next
122
122
  end
123
123
  end
@@ -126,7 +126,7 @@ class CheckRabbitMQMessages < Sensu::Plugin::Check::CLI
126
126
  warning unless warn_queues.empty?
127
127
  else
128
128
  total = rabbitmq.overview['queue_totals']['messages']
129
- message "#{total}"
129
+ message total.to_s
130
130
  critical if total > config[:critical].to_i
131
131
  warning if total > config[:warn].to_i
132
132
  end
@@ -61,6 +61,12 @@ class CheckRabbitMQNodeHealth < Sensu::Plugin::Check::CLI
61
61
  boolean: true,
62
62
  default: false
63
63
 
64
+ option :verify_ssl_off,
65
+ description: 'Do not check validity of SSL cert. Use for self-signed certs, etc (insecure)',
66
+ long: '--verify_ssl_off',
67
+ boolean: true,
68
+ default: false
69
+
64
70
  option :memwarn,
65
71
  description: 'Warning % of mem usage vs high watermark',
66
72
  short: '-m',
@@ -124,15 +130,21 @@ class CheckRabbitMQNodeHealth < Sensu::Plugin::Check::CLI
124
130
  end
125
131
 
126
132
  def node_healthy?
127
- host = config[:host]
128
- port = config[:port]
129
- username = config[:username]
130
- password = config[:password]
131
- ssl = config[:ssl]
133
+ host = config[:host]
134
+ port = config[:port]
135
+ username = config[:username]
136
+ password = config[:password]
137
+ ssl = config[:ssl]
138
+ verify_ssl = config[:verify_ssl_off]
132
139
 
133
140
  begin
134
- ssl ? url_prefix = 'https' : url_prefix = 'http'
135
- resource = RestClient::Resource.new "#{url_prefix}://#{host}:#{port}/api/nodes", username, password
141
+ url_prefix = ssl ? 'https' : 'http'
142
+ resource = RestClient::Resource.new(
143
+ "#{url_prefix}://#{host}:#{port}/api/nodes",
144
+ user: username,
145
+ password: password,
146
+ verify_ssl: !verify_ssl
147
+ )
136
148
  # Parse our json data
137
149
  nodeinfo = JSON.parse(resource.get)[0]
138
150
 
@@ -93,21 +93,20 @@ class CheckRabbitMQQueueDrainTime < Sensu::Plugin::Check::CLI
93
93
  warning 'could not get rabbitmq queue info'
94
94
  end
95
95
 
96
+ queues = rabbitmq_info.queues.select { |q| q['name'].match(Regexp.new(config[:filter])) }
97
+
96
98
  if config[:vhost]
97
- return rabbitmq_info.queues.select { |x| x['vhost'].match(config[:vhost]) }
99
+ return queues.select { |x| x['vhost'].match(config[:vhost]) }
98
100
  end
99
101
 
100
- rabbitmq_info.queues
102
+ queues
101
103
  end
102
104
 
103
105
  def run
104
106
  warn_queues = {}
105
107
  crit_queues = {}
106
- acquire_rabbitmq_queues.each do |queue|
107
- if config[:filter]
108
- next unless queue['name'].match(config[:filter])
109
- end
110
108
 
109
+ acquire_rabbitmq_queues.each do |queue|
111
110
  # we don't care about empty queues and they'll have an infinite drain time so skip them
112
111
  next if queue['messages'] == 0 || queue['messages'].nil?
113
112
 
@@ -42,7 +42,7 @@ class CheckRabbitMQMessages < Sensu::Plugin::Check::CLI
42
42
  description: 'RabbitMQ vhost',
43
43
  short: '-v',
44
44
  long: '--vhost VHOST',
45
- default: '%2F'
45
+ default: ''
46
46
 
47
47
  option :ssl,
48
48
  description: 'Enable SSL for connection to the API',
@@ -115,16 +115,16 @@ class CheckRabbitMQMessages < Sensu::Plugin::Check::CLI
115
115
  next unless queue['name'] == q
116
116
  total = queue['messages']
117
117
  total = 0 if total.nil?
118
- message "#{total}"
118
+ message total.to_s
119
119
  @crit << "#{q}:#{total}" if total > config[:critical].to_i
120
120
  @warn << "#{q}:#{total}" if total > config[:warn].to_i
121
121
  end
122
122
  end
123
123
  if @crit.empty? && @warn.empty?
124
124
  ok
125
- elsif !(@crit.empty?)
125
+ elsif !@crit.empty?
126
126
  critical "critical: #{@crit} warning: #{@warn}"
127
- elsif !(@warn.empty?)
127
+ elsif !@warn.empty?
128
128
  warning "critical: #{@crit} warning: #{@warn}"
129
129
  end
130
130
  end
@@ -43,6 +43,11 @@ class RabbitMQMetrics < Sensu::Plugin::Metric::CLI::Graphite
43
43
  proc: proc(&:to_i),
44
44
  default: 15_672
45
45
 
46
+ option :vhost,
47
+ description: 'Regular expression for filtering the RabbitMQ vhost',
48
+ short: '-v',
49
+ long: '--vhost VHOST'
50
+
46
51
  option :user,
47
52
  description: 'RabbitMQ management API user',
48
53
  long: '--user USER',
@@ -80,6 +85,11 @@ class RabbitMQMetrics < Sensu::Plugin::Metric::CLI::Graphite
80
85
  rescue
81
86
  warning 'could not get rabbitmq queue info'
82
87
  end
88
+
89
+ if config[:vhost]
90
+ return rabbitmq_info.queues.select { |x| x['vhost'].match(config[:vhost]) }
91
+ end
92
+
83
93
  rabbitmq_info.queues
84
94
  end
85
95
 
@@ -1,7 +1,7 @@
1
1
  module SensuPluginsRabbitMQ
2
2
  module Version
3
3
  MAJOR = 1
4
- MINOR = 1
4
+ MINOR = 2
5
5
  PATCH = 0
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
metadata CHANGED
@@ -1,36 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-rabbitmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDgDCCAmigAwIBAgIBATANBgkqhkiG9w0BAQUFADBDMRIwEAYDVQQDDAltYXR0
14
- am9uZXMxGDAWBgoJkiaJk/IsZAEZFgh5aWVsZGJvdDETMBEGCgmSJomT8ixkARkW
15
- A2NvbTAeFw0xNTAxMjgyMTAyNTFaFw0xNjAxMjgyMTAyNTFaMEMxEjAQBgNVBAMM
16
- CW1hdHRqb25lczEYMBYGCgmSJomT8ixkARkWCHlpZWxkYm90MRMwEQYKCZImiZPy
17
- LGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyTSzVYnO
18
- CLgyrIyT1mBQakArQyW8xhi6MlDqyzXHJGeERT790U6EgoBVeS4XoK0ptFZNR8Tf
19
- zko0w+Nv47TarSCgkPOaxY+mxWnAVR10dOmfeLr7huiMyps+YD56/EF2FqQ3jf/+
20
- qohENfKD91qy1ieEy+Fn7Pf74ltbNKUdkb9a9eFXQ0DQ4ip5vik7DzjQkUTj4lca
21
- k6ArwnmHX4YDhZoYtrQJ8jVktN0/+NtA40M5qkCYHNe5tUW25b/tKVYuioxG6b2Z
22
- oIzaZxRLxf6HVAWpCVRT/F5+/yjigkX4u++eYacfLGleXQzoK7BL65vHGMJygWEE
23
- 0TKGqFOrl/L0AQIDAQABo38wfTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV
24
- HQ4EFgQUEf6a8Td7MrSZc8ImbLFZAENPbz0wIQYDVR0RBBowGIEWbWF0dGpvbmVz
25
- QHlpZWxkYm90LmNvbTAhBgNVHRIEGjAYgRZtYXR0am9uZXNAeWllbGRib3QuY29t
26
- MA0GCSqGSIb3DQEBBQUAA4IBAQBbzXAYA3BVGw8DZ0YYoY1VHPNEcH5qPIApmHO8
27
- rvSmuUT0yMEi7u00H/5uHRFf4LleGT/+sTdyXKsNPGT9kdRuQEgwi+vf7Zfvd8aX
28
- UF/+4VkEYf/8rV8Ere6u2QaWPgApdMV6JjKr1fAwCTd8AuGXNaWItiPPMseSQzLJ
29
- JKP4hVvbc1d+oS925B1lcBiqn2aYvElbyNAVmQPywNNqkWmvtlqj9ZVJfV5HQLdu
30
- 8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
- HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
- -----END CERTIFICATE-----
33
- date: 2015-12-30 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2016-04-13 00:00:00.000000000 Z
34
12
  dependencies:
35
13
  - !ruby/object:Gem::Dependency
36
14
  name: sensu-plugin
@@ -117,150 +95,149 @@ dependencies:
117
95
  - !ruby/object:Gem::Version
118
96
  version: 1.9.2
119
97
  - !ruby/object:Gem::Dependency
120
- name: codeclimate-test-reporter
98
+ name: bundler
121
99
  requirement: !ruby/object:Gem::Requirement
122
100
  requirements:
123
- - - "~>"
101
+ - - ~>
124
102
  - !ruby/object:Gem::Version
125
- version: '0.4'
103
+ version: '1.7'
126
104
  type: :development
127
105
  prerelease: false
128
106
  version_requirements: !ruby/object:Gem::Requirement
129
107
  requirements:
130
- - - "~>"
108
+ - - ~>
131
109
  - !ruby/object:Gem::Version
132
- version: '0.4'
110
+ version: '1.7'
133
111
  - !ruby/object:Gem::Dependency
134
- name: rubocop
112
+ name: codeclimate-test-reporter
135
113
  requirement: !ruby/object:Gem::Requirement
136
114
  requirements:
137
- - - '='
115
+ - - ~>
138
116
  - !ruby/object:Gem::Version
139
- version: 0.32.1
117
+ version: '0.4'
140
118
  type: :development
141
119
  prerelease: false
142
120
  version_requirements: !ruby/object:Gem::Requirement
143
121
  requirements:
144
- - - '='
122
+ - - ~>
145
123
  - !ruby/object:Gem::Version
146
- version: 0.32.1
124
+ version: '0.4'
147
125
  - !ruby/object:Gem::Dependency
148
- name: rspec
126
+ name: github-markup
149
127
  requirement: !ruby/object:Gem::Requirement
150
128
  requirements:
151
- - - "~>"
129
+ - - ~>
152
130
  - !ruby/object:Gem::Version
153
- version: '3.1'
131
+ version: '1.3'
154
132
  type: :development
155
133
  prerelease: false
156
134
  version_requirements: !ruby/object:Gem::Requirement
157
135
  requirements:
158
- - - "~>"
136
+ - - ~>
159
137
  - !ruby/object:Gem::Version
160
- version: '3.1'
138
+ version: '1.3'
161
139
  - !ruby/object:Gem::Dependency
162
- name: bundler
140
+ name: pry
163
141
  requirement: !ruby/object:Gem::Requirement
164
142
  requirements:
165
- - - "~>"
143
+ - - ~>
166
144
  - !ruby/object:Gem::Version
167
- version: '1.7'
145
+ version: '0.10'
168
146
  type: :development
169
147
  prerelease: false
170
148
  version_requirements: !ruby/object:Gem::Requirement
171
149
  requirements:
172
- - - "~>"
150
+ - - ~>
173
151
  - !ruby/object:Gem::Version
174
- version: '1.7'
152
+ version: '0.10'
175
153
  - !ruby/object:Gem::Dependency
176
154
  name: rake
177
155
  requirement: !ruby/object:Gem::Requirement
178
156
  requirements:
179
- - - "~>"
157
+ - - ~>
180
158
  - !ruby/object:Gem::Version
181
- version: '10.0'
159
+ version: '10.5'
182
160
  type: :development
183
161
  prerelease: false
184
162
  version_requirements: !ruby/object:Gem::Requirement
185
163
  requirements:
186
- - - "~>"
164
+ - - ~>
187
165
  - !ruby/object:Gem::Version
188
- version: '10.0'
166
+ version: '10.5'
189
167
  - !ruby/object:Gem::Dependency
190
- name: github-markup
168
+ name: redcarpet
191
169
  requirement: !ruby/object:Gem::Requirement
192
170
  requirements:
193
- - - "~>"
171
+ - - ~>
194
172
  - !ruby/object:Gem::Version
195
- version: '1.3'
173
+ version: '3.2'
196
174
  type: :development
197
175
  prerelease: false
198
176
  version_requirements: !ruby/object:Gem::Requirement
199
177
  requirements:
200
- - - "~>"
178
+ - - ~>
201
179
  - !ruby/object:Gem::Version
202
- version: '1.3'
180
+ version: '3.2'
203
181
  - !ruby/object:Gem::Dependency
204
- name: redcarpet
182
+ name: rubocop
205
183
  requirement: !ruby/object:Gem::Requirement
206
184
  requirements:
207
- - - "~>"
185
+ - - ~>
208
186
  - !ruby/object:Gem::Version
209
- version: '3.2'
187
+ version: '0.37'
210
188
  type: :development
211
189
  prerelease: false
212
190
  version_requirements: !ruby/object:Gem::Requirement
213
191
  requirements:
214
- - - "~>"
192
+ - - ~>
215
193
  - !ruby/object:Gem::Version
216
- version: '3.2'
194
+ version: '0.37'
217
195
  - !ruby/object:Gem::Dependency
218
- name: yard
196
+ name: rspec
219
197
  requirement: !ruby/object:Gem::Requirement
220
198
  requirements:
221
- - - "~>"
199
+ - - ~>
222
200
  - !ruby/object:Gem::Version
223
- version: '0.8'
201
+ version: '3.4'
224
202
  type: :development
225
203
  prerelease: false
226
204
  version_requirements: !ruby/object:Gem::Requirement
227
205
  requirements:
228
- - - "~>"
206
+ - - ~>
229
207
  - !ruby/object:Gem::Version
230
- version: '0.8'
208
+ version: '3.4'
231
209
  - !ruby/object:Gem::Dependency
232
- name: pry
210
+ name: yard
233
211
  requirement: !ruby/object:Gem::Requirement
234
212
  requirements:
235
- - - "~>"
213
+ - - ~>
236
214
  - !ruby/object:Gem::Version
237
- version: '0.10'
215
+ version: '0.8'
238
216
  type: :development
239
217
  prerelease: false
240
218
  version_requirements: !ruby/object:Gem::Requirement
241
219
  requirements:
242
- - - "~>"
220
+ - - ~>
243
221
  - !ruby/object:Gem::Version
244
- version: '0.10'
245
- description: |-
246
- This plugin provides native RabbitMQ instrumentation
247
- for monitoring and metrics collection, including:
248
- service health, message, consumer, and queue health/metrics
249
- via `rabbitmq_management`, and more
250
- email: "<sensu-users@googlegroups.com>"
222
+ version: '0.8'
223
+ description: ! "This plugin provides native RabbitMQ instrumentation\n for
224
+ monitoring and metrics collection, including:\n service
225
+ health, message, consumer, and queue health/metrics\n via
226
+ `rabbitmq_management`, and more"
227
+ email: <sensu-users@googlegroups.com>
251
228
  executables:
252
- - metrics-rabbitmq-queue.rb
253
- - metrics-rabbitmq-overview.rb
254
- - check-rabbitmq-stomp-alive.rb
255
- - check-rabbitmq-queue.rb
256
- - check-rabbitmq-queue-drain-time.rb
257
- - check-rabbitmq-node-health.rb
258
- - check-rabbitmq-network-partitions.rb
259
- - check-rabbitmq-messages.rb
260
- - check-rabbitmq-consumers.rb
261
- - check-rabbitmq-cluster-health.rb
262
- - check-rabbitmq-amqp-alive.rb
263
229
  - check-rabbitmq-alive.rb
230
+ - check-rabbitmq-amqp-alive.rb
231
+ - check-rabbitmq-cluster-health.rb
232
+ - check-rabbitmq-consumers.rb
233
+ - check-rabbitmq-messages.rb
234
+ - check-rabbitmq-network-partitions.rb
235
+ - check-rabbitmq-node-health.rb
236
+ - check-rabbitmq-queue-drain-time.rb
237
+ - check-rabbitmq-queue.rb
238
+ - check-rabbitmq-stomp-alive.rb
239
+ - metrics-rabbitmq-overview.rb
240
+ - metrics-rabbitmq-queue.rb
264
241
  extensions: []
265
242
  extra_rdoc_files: []
266
243
  files:
@@ -285,7 +262,7 @@ homepage: https://github.com/sensu-plugins/sensu-plugins-rabbitmq
285
262
  licenses:
286
263
  - MIT
287
264
  metadata:
288
- maintainer: "@mattyjones"
265
+ maintainer: ! '@mattyjones'
289
266
  development_status: active
290
267
  production_status: unstable - testing recommended
291
268
  release_draft: 'false'
@@ -297,17 +274,17 @@ require_paths:
297
274
  - lib
298
275
  required_ruby_version: !ruby/object:Gem::Requirement
299
276
  requirements:
300
- - - ">="
277
+ - - ! '>='
301
278
  - !ruby/object:Gem::Version
302
279
  version: 1.9.3
303
280
  required_rubygems_version: !ruby/object:Gem::Requirement
304
281
  requirements:
305
- - - ">="
282
+ - - ! '>='
306
283
  - !ruby/object:Gem::Version
307
284
  version: '0'
308
285
  requirements: []
309
286
  rubyforge_project:
310
- rubygems_version: 2.4.8
287
+ rubygems_version: 2.4.5
311
288
  signing_key:
312
289
  specification_version: 4
313
290
  summary: Sensu plugins for rabbitmq
@@ -1 +0,0 @@
1
- �+Ļo����t}�ѡ�
data.tar.gz.sig DELETED
@@ -1 +0,0 @@
1
- ���w_�NI�>8BM���N�`N����F�#���Ρ]�(c::��.3�FcfLF0��8k����Z2�V�M9�� ��(��D��M�?p�_p!%.f�$���i���ޱ��s�r���5���#�^e�(��L�Y�P���w�'��ϱ��#��Hh���]<���E÷��� �X� �� Q_�/,���][����rf0v��[~0�;� ��ѡ��&q��օ�R��Ş�}�e$�7
metadata.gz.sig DELETED
Binary file