Page 1 of 1

Check Command to get CPU load Percentage?

Posted: Mon Dec 20, 2021 4:20 pm
by lucas.shearer
Im trying to find the "Check Command" that will return CPU Load as a % load on the cpu. Is there such a command? "Check_Load" seems to return some quantity of services vs cpu running, or something like that and not just a cpu load percentage.

Is this list the list of all possible check commands: https://nagios-plugins.org/doc/man/index.html ?

Re: Check Command to get CPU load Percentage?

Posted: Tue Dec 21, 2021 11:36 am
by pbroste
Hello @lucas.shearer

Thanks for reaching out, have been using the 'check_cpu_stats.sh' on my test VM. Please check this plugin out at:
https://exchange.nagios.org/directory/P ... sh/details

Here is an example raw command output:
CPU STATISTICS OK: user=3.51% system=1.30% iowait=12.39% idle=82.80% | user=3.51% system=1.30% iowait=12.39%;70,40;90,50 idle=82.80%
Thanks,
Perry