Werk #13202: wmi_cpuload: Handle Windows time counter resets

Component Checks & agents
Title wmi_cpuload: Handle Windows time counter resets
Date Sep 1, 2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The check plugin wmi_cpuload, which monitors the CPU load of Windows hosts, uses an internal Windows time counter to compute the average load over the last 5 and 15 minutes. This counter can be reset by Windows due to various reasons.

wmi_cpuload can now handle such resets. In case a reset occurs, the computation of the averages is reset as well and started from scratch based on the new counter.

To the list of all Werks