Sha256: be22d9e35b90359e38ad4d8d2f951166a8b84bb610a8e65f0a2b12204d2188c3

Contents?: true

Size: 258 Bytes

Versions: 2

Compression:

Stored size: 258 Bytes

Contents

#encoding: utf-8

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

  def collect
    { :service => plugin.service + " la_1", :description => "LA усредненный по минуте", :metric => File.read('/proc/loadavg').split(/\s+/)[2].to_f }
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
riemann-babbler-0.8.4 lib/riemann/babbler/plugins/la.rb
riemann-babbler-0.8.3 lib/riemann/babbler/plugins/la.rb