riemann-babbler 1.3.6 → 1.3.7

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.
@@ -20,6 +20,10 @@ class Riemann::Babbler::Diskstat < Riemann::Babbler
20
20
  plugin.set_default(:filter, ['reads reqs', 'writes reqs', 'io reqs'])
21
21
  end
22
22
 
23
+ def run
24
+ File.exists? '/proc/diskstats'
25
+ end
26
+
23
27
  def collect
24
28
  status = Array.new
25
29
  f = File.read('/proc/diskstats')
@@ -1,5 +1,5 @@
1
1
  module Riemann
2
2
  class Babbler
3
- VERSION = '1.3.6'
3
+ VERSION = '1.3.7'
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: 1.3.6
4
+ version: 1.3.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: