Sha256: 1d3ef9f37ba0057b07a56e847d8a529c6f8a2aaea27e2d2e30f26fa454a7d089

Contents?: true

Size: 177 Bytes

Versions: 39

Compression:

Stored size: 177 Bytes

Contents

class Riemann::Babbler::La < Riemann::Babbler

  def collect
    { :service => plugin.service + " la_1", :metric => File.read('/proc/loadavg').split(/\s+/)[2].to_f }
  end

end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
riemann-babbler-0.8.2 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.8.1 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.8.0 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.7.9 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.7.8 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.7.7 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.7.6 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.7.5 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.7.4 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.7.3 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.7.2 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.7.1 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.7.0 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.6.9 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.6.8 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.6.7 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.6.6 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.6.5 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.6.4 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.6.3 lib/riemann/babbler/plugins/la.rb