riemann-babbler 0.7.0 → 0.7.1

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.
data/config.yml CHANGED
@@ -19,32 +19,32 @@ plugins:
19
19
 
20
20
  la:
21
21
  service: la
22
- interval: 1
22
+ interval: 60
23
23
  states:
24
24
  warning: 4
25
25
  critical: 10
26
26
 
27
27
  disk:
28
28
  service: disk
29
- interval: 1
29
+ interval: 60
30
30
  states:
31
31
  warning: 0.7
32
32
  critical: 0.85
33
33
 
34
34
  cpu:
35
35
  service: cpu usage
36
- interval: 1
36
+ interval: 60
37
37
  states:
38
38
  warning: 0.7
39
39
  critical: 0.85
40
40
 
41
41
  memory:
42
42
  service: memory
43
- interval: 1
43
+ interval: 60
44
44
  states:
45
45
  warning: 0.6
46
46
  critical: 0.8
47
47
 
48
48
  net:
49
49
  service: net
50
- interval: 5
50
+ interval: 60
@@ -30,8 +30,8 @@ module Riemann
30
30
  @riemann = riemann
31
31
  @storage = Hash.new
32
32
  @hostname = get_hostname
33
- plugin.interval = configatron.plugins.interval unless configatron.plugins.interval.nil?
34
33
  init
34
+ plugin.set_default(:interval, configatron.plugins.interval) unless configatron.plugins.interval.nil?
35
35
  run
36
36
  end
37
37
 
@@ -1,5 +1,5 @@
1
1
  module Riemann
2
2
  class Babbler
3
- VERSION = '0.7.0'
3
+ VERSION = '0.7.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riemann-babbler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -165,7 +165,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  segments:
167
167
  - 0
168
- hash: 852805636423741344
168
+ hash: -2195448384995187694
169
169
  required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  none: false
171
171
  requirements: