bin/metrics-cpu.rb in sensu-plugins-cpu-checks-1.0.0 vs bin/metrics-cpu.rb in sensu-plugins-cpu-checks-1.1.1

- old
+ new

@@ -40,10 +40,10 @@ long: '--proc-path /proc', proc: proc(&:to_f), default: '/proc' def run - cpu_metrics = %w(user nice system idle iowait irq softirq steal guest) + cpu_metrics = %w(user nice system idle iowait irq softirq steal guest guest_nice) other_metrics = %w(ctxt processes procs_running procs_blocked btime intr) cpu_count = 0 File.open("#{config[:proc_path]}/stat", 'r').each_line do |line| info = line.split(/\s+/)