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

Hello
How can I show the CPU usage as a percentage on the icinga2 dashboard? Or how will this CPU be calculated properly?
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.
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