How to check CPU usage by %

Hello

How can I show the CPU usage as a percentage on the icinga2 dashboard? Or how will this CPU be calculated properly?



Ekran görüntüsü 2025-06-10 141502

Thanks for posting. Please consider that the Unix load is not only influenced by the CPU utilization, but based on many factors, including IOPS and other things. Furthermore, the load value depends on the amount of CPU cores and is considered as vague or even useless by some.

1 Like

Hello yakup,

CPU load and CPU usage are two different things. Only the latter can be expressed in %.

For CPU usage, we use the Madrisan plugin check_cpu.
For CPU load, we use the check_load plugin, and we ensure we use the -r flag that divides the load per the number of CPUs

Best regards,

Jean

1 Like

I showed the CPU values ​​in the picture, but it cannot read the warning side.

Maybe try:

  • cpu-usage (only alerts if usage is above a certain threshold within the last n checks)
  • load (automatically ensures normalised data)