lib/riemann/babbler/plugins/net.rb in riemann-babbler-2.0.0 vs lib/riemann/babbler/plugins/net.rb in riemann-babbler-2.0.1

- old
+ new

@@ -34,10 +34,10 @@ service end.zip( $2.split(/\s+/).map { |str| str.to_i } ).each do |service, value| next unless plugin.filter.include? service - status << { :service => "#{plugin.service} #{iface} #{service}", :metric => value, :as_diff => true } + status << { :service => "#{plugin.service} #{iface} #{service}", :metric => value.to_f/plugin.interval, :as_diff => true } end end status end