Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Great plugin – and yielding great info for nagiosgraph too! Just one tweak that makes the graph more sensible to read. default output is %idle which can be 100% all the time if a quiet server. I changed this to return to CPU busy time (based on cpu_used variable)
code change snippett at line 120-126 (under check_cpu sub): 120 my $perfdata .= “|” 121 .”user=$cpu->{user}% ” 122 .”system=$cpu->{system}% ” 123 .”iowait=$cpu->{iowait}% ” 124 .”InUse=$cpu_used%;$o_warning;$o_critical”; 125 126 print “CPU $status : InUse $cpu_used% $perfdata”;
Richard