Check Command to get CPU load Percentage?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lucas.shearer
Posts: 17
Joined: Fri Nov 19, 2021 12:00 pm

Check Command to get CPU load Percentage?

Post 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 ?
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Check Command to get CPU load Percentage?

Post 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
Locked