Werk #10907: ucd_cpu_util: Fix CPU utilization calculation

Component Checks & agents
Title ucd_cpu_util: Fix CPU utilization calculation
Date May 8, 2020
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Fixed the calculation for the CPU utilization. The system value used the outdated values/OIDs.

No longer query the CpuRawKernel value, since its already included in the CpuRawSystem. CpuRawSystem = CpuRawKernel + CpuRawWait

The system value gets computed as: system = CpuRawSystem + CpuRawInterrupt + CpuRawSoftIRQ (CpuRawInterrupt in this case is equal to IRQ)

To the list of all Werks