Check Procs by % CPU


#1

I have check_procs checking using the %CPU metric but when I click on it it only shows # of processes running. It is properly warning but the display is just showing # of processes and not the % used by top process. How can I change this?


#2

If you want to change it, then rewrite the source code for the plugin, recompile/install.
But the reason it is doing that, is because of this, from the output of
./check_proc --help
"This plugin checks the number of currently running processes"


#3

Also, looking at the percentile CPU load isn’t very useful most of the time. Instead you may want to use either check_load or check_load2 to check on the average load.