riemann-babbler 0.5.1 → 0.5.2

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.
@@ -28,8 +28,8 @@ class Riemann::Babbler::Disk < Riemann::Babbler
28
28
  human_point.gsub!(/^\//, "").gsub!(/\//, "_")
29
29
  disk << { :service => plugin.service + " #{human_point} % block", :metric => 1 - point_stat.blocks_available.to_f/point_stat.blocks }
30
30
  disk << { :service => plugin.service + " #{human_point} % inode", :metric => 1 - point_stat.files_available.to_f/point_stat.files }
31
- disk << { :service => plugin.service + " #{human_point} free", :metric => point_stat.blocks_free * point_stat.block_size, :state => 'ok'}
32
- disk << { :service => plugin.service + " #{human_point} total", :metric => point_stat.blocks * point_stat.block_size, :state => 'ok'}
31
+ disk << { :service => plugin.service + " #{human_point} total free", :metric => point_stat.blocks_free * point_stat.block_size, :state => 'ok'}
32
+ disk << { :service => plugin.service + " #{human_point} total total", :metric => point_stat.blocks * point_stat.block_size, :state => 'ok'}
33
33
  end
34
34
  disk
35
35
  end
@@ -1,5 +1,5 @@
1
1
  module Riemann
2
2
  class Babbler
3
- VERSION = '0.5.1'
3
+ VERSION = '0.5.2'
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.5.1
4
+ version: 0.5.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -148,7 +148,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
148
  version: '0'
149
149
  segments:
150
150
  - 0
151
- hash: 4038679803083046382
151
+ hash: 813837732772817729
152
152
  required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  none: false
154
154
  requirements: