servicemonitor 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/monitor_type/beanstalk.rb +2 -0
  3. metadata +59 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7474ea778fff226f734664028d8b5004ac416038
4
- data.tar.gz: c14028418a607394d5aa0c01b96404ae81b9b3d4
3
+ metadata.gz: 59ee19a94a958c7a0b4e37cb2b20b53753c45b7c
4
+ data.tar.gz: d96e79e602e8cf642f42e4318063c3a8a7a13868
5
5
  SHA512:
6
- metadata.gz: 215e180ab818c4d4b3dd43672937f17b05dcf175ae113ef34bd46188ea764f243355c3c69062e412f0e5243c649cd5bef890a755c52b46948a8ebda9848b391b
7
- data.tar.gz: 142208a97cad52380f26ba0d91c87d3ebe095a9fb3c3ce86ddda4bc952b8cecfe9478ec9f4c039a39216735ee492f69146a3c41dd4c7dde74ddda6f34dc96237
6
+ metadata.gz: 675dd702ecd3ed851cc4bd71e3eca4979d35a7391568fc357e19aa3b24590d85e02e50743d54fd25cc103e7045cfcb706a5c25dc623f6b5d3e23345ed6a6ce10
7
+ data.tar.gz: 3db9e8b8c58aa33c47290dba6e2df7845e74f88397d4660692764ce5756f8770119c16233b4a7f1e21b69e9ddd5f36746c7a1838ec6b78bbadf4f63299ec95d6
@@ -27,6 +27,8 @@ class MonitorTypeBeanstalk < MonitorTypeThreshold
27
27
  def derived_value
28
28
  tube_stats = @beanstalk.stats_tube(@queue)
29
29
  tube_stats['current-jobs-ready']
30
+ rescue Beanstalk::NotFoundError
31
+ 0
30
32
  end
31
33
  end
32
34
 
metadata CHANGED
@@ -1,15 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: servicemonitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Irvine
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-16 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2016-08-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: parse-cron
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: beanstalk-client
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: fluiddb
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rest-client
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
13
69
  description: The fastest way to reliably monitor your system.
14
70
  email: guy@guyirvine.com
15
71
  executables: