sensu-plugins-rabbitmq 0.0.2 → 0.0.3
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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/bin/check-rabbitmq-amqp-alive.rb +1 -2
- data/bin/check-rabbitmq-queue-drain-time.rb +1 -1
- data/lib/sensu-plugins-rabbitmq/version.rb +1 -1
- metadata +6 -6
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0ea05be3b7d63f1e71d5f58a93cc6991ea291e14
|
|
4
|
+
data.tar.gz: 0cf862c995242156e5f54b48ef35b06f70f3dd4c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 824ee072bc71ccc14b16b8f39c3547ae7bfe8e5a0fe90a2ee0982ea6b4213bc958f1c378f11c7b72ba7e7b8bbbb0faedb65bf8ad771300fa4f395be44ecb5bb7
|
|
7
|
+
data.tar.gz: 4d7396cddcc1785d17a412a471bb3cd604f7ee3294ff91d24d3f64f31cc9813e0aa3c668a19a56722ea952b2598f9d092b926c5ca4c4e7da1662c4cfbafffdd6
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
5
5
|
|
|
6
6
|
## Unreleased][unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.0.3] - 2015-07-14
|
|
9
|
+
### Changed
|
|
10
|
+
- updated sensu-plugin gem to 1.2.0
|
|
11
|
+
|
|
8
12
|
## 0.0.1 - 2015-05-30
|
|
9
13
|
|
|
10
14
|
### Added
|
|
@@ -22,6 +26,7 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
22
26
|
- Added the ability to monitor message count per queue and exclude specific queues in check-rabbitmq-messages.rb
|
|
23
27
|
|
|
24
28
|
### Fixed
|
|
29
|
+
- Nil queue values should be treated as a 0 in the queue drain time plugin
|
|
25
30
|
- Fixed the critical and warning values to alert when <= not < in check-rabbitmq-consumers.rb
|
|
26
31
|
|
|
27
32
|
### Changed
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
## Sensu-Plugins-rabbitmq
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.org/sensu-plugins/sensu-plugins-rabbitmq)
|
|
3
|
+
[ ](https://travis-ci.org/sensu-plugins/sensu-plugins-rabbitmq)
|
|
4
4
|
[](http://badge.fury.io/rb/sensu-plugins-rabbitmq)
|
|
5
5
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-rabbitmq)
|
|
6
6
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-rabbitmq)
|
|
@@ -5,13 +5,12 @@
|
|
|
5
5
|
# ===
|
|
6
6
|
#
|
|
7
7
|
# DESCRIPTION:
|
|
8
|
-
# This plugin checks if RabbitMQ server is alive using
|
|
8
|
+
# This plugin checks if RabbitMQ server is alive using AMQP
|
|
9
9
|
#
|
|
10
10
|
# PLATFORMS:
|
|
11
11
|
# Linux, BSD, Solaris
|
|
12
12
|
#
|
|
13
13
|
# DEPENDENCIES:
|
|
14
|
-
# RabbitMQ rabbitmq_management plugin
|
|
15
14
|
# gem: sensu-plugin
|
|
16
15
|
# gem: bunny
|
|
17
16
|
#
|
|
@@ -99,7 +99,7 @@ class CheckRabbitMQQueueDrainTime < Sensu::Plugin::Check::CLI
|
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
# we don't care about empty queues and they'll have an infinite drain time so skip them
|
|
102
|
-
next if queue['messages'] == 0
|
|
102
|
+
next if queue['messages'] == 0 || queue['messages'].nil?
|
|
103
103
|
|
|
104
104
|
# handle rate of zero which is an infinite time until empty
|
|
105
105
|
if queue['backing_queue_status']['avg_egress_rate'].to_f == 0
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-rabbitmq
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sensu-Plugins and contributors
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
|
|
31
31
|
HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date: 2015-
|
|
33
|
+
date: 2015-07-14 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: sensu-plugin
|
|
@@ -38,14 +38,14 @@ dependencies:
|
|
|
38
38
|
requirements:
|
|
39
39
|
- - '='
|
|
40
40
|
- !ruby/object:Gem::Version
|
|
41
|
-
version: 1.
|
|
41
|
+
version: 1.2.0
|
|
42
42
|
type: :runtime
|
|
43
43
|
prerelease: false
|
|
44
44
|
version_requirements: !ruby/object:Gem::Requirement
|
|
45
45
|
requirements:
|
|
46
46
|
- - '='
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
|
-
version: 1.
|
|
48
|
+
version: 1.2.0
|
|
49
49
|
- !ruby/object:Gem::Dependency
|
|
50
50
|
name: carrot-top
|
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -120,14 +120,14 @@ dependencies:
|
|
|
120
120
|
name: rubocop
|
|
121
121
|
requirement: !ruby/object:Gem::Requirement
|
|
122
122
|
requirements:
|
|
123
|
-
- -
|
|
123
|
+
- - '='
|
|
124
124
|
- !ruby/object:Gem::Version
|
|
125
125
|
version: '0.30'
|
|
126
126
|
type: :development
|
|
127
127
|
prerelease: false
|
|
128
128
|
version_requirements: !ruby/object:Gem::Requirement
|
|
129
129
|
requirements:
|
|
130
|
-
- -
|
|
130
|
+
- - '='
|
|
131
131
|
- !ruby/object:Gem::Version
|
|
132
132
|
version: '0.30'
|
|
133
133
|
- !ruby/object:Gem::Dependency
|
metadata.gz.sig
CHANGED
|
Binary file
|