servicemonitor 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/monitor_type/beanstalk.rb +1 -1
- data/lib/monitor_type/fluiddb.rb +1 -1
- data/lib/monitor_type/http_get_json_list.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8741fedf212a5f413ae48b7c4ca2ef30eadd8e75
|
4
|
+
data.tar.gz: 3e4280d175d63e406411425a79281ddd9ec3da2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 554afa3807766adeb9d0cda26e98e876fb4dd9c56f3e36ec0ad973c6dfacd1226d10645bcff5bb8601d405d86974f4dc7185bfb220394f8b51eee54a993e85a0
|
7
|
+
data.tar.gz: b4582c275fca6f3e5a89b4523b0eb512898a04ed73f61440ee4aeb67e70f74c00a0c31c750f872da05b0d15e288d5c011ca8278ee716b22c8a89d13524f7810b
|
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'beanstalk-client'
|
2
1
|
require 'monitor_type/threshold'
|
3
2
|
|
4
3
|
# A Beanstalk class for checking how many msgs are in a Queue
|
@@ -33,5 +32,6 @@ class MonitorTypeBeanstalk < MonitorTypeThreshold
|
|
33
32
|
end
|
34
33
|
|
35
34
|
def beanstalk(params)
|
35
|
+
require 'beanstalk-client'
|
36
36
|
$a.add(MonitorTypeBeanstalk.new(params))
|
37
37
|
end
|
data/lib/monitor_type/fluiddb.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'fluiddb2'
|
2
1
|
require 'monitor_type/threshold'
|
3
2
|
|
4
3
|
# A database class for checking a single number against a threshold.
|
@@ -67,5 +66,6 @@ class MonitorTypeFluidDb < MonitorTypeThreshold
|
|
67
66
|
end
|
68
67
|
|
69
68
|
def fluiddb(params)
|
69
|
+
require 'fluiddb2'
|
70
70
|
$a.add(MonitorTypeFluidDb.new(params))
|
71
71
|
end
|
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'restclient'
|
2
1
|
require 'monitor_type/threshold'
|
3
2
|
|
4
3
|
# An http class for checking the length of a json list.
|
@@ -49,5 +48,6 @@ class MonitorTypeHttpGetJsonList < MonitorTypeThreshold
|
|
49
48
|
end
|
50
49
|
|
51
50
|
def httpgetjsonlist(params)
|
51
|
+
require 'restclient'
|
52
52
|
$a.add(MonitorTypeHttpGetJsonList.new(params))
|
53
53
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: servicemonitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guy Irvine
|
@@ -46,7 +46,7 @@ files:
|
|
46
46
|
- bin/servicemonitor
|
47
47
|
- LICENSE
|
48
48
|
- README.md
|
49
|
-
homepage:
|
49
|
+
homepage: https://github.com/guyirvine/ServiceMonitor
|
50
50
|
licenses:
|
51
51
|
- LGPL-3.0
|
52
52
|
metadata: {}
|