#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