Werk #13812: KUBE kube_cpu use latest cpu usage value when no new data is available

Component Checks & agents
Title KUBE kube_cpu use latest cpu usage value when no new data is available
Date Mar 8, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The check returned a 0 cpu usage value when the Kubernetes special agent was polled too frequently. This werk fixes this behaviour and returns the last reported usage value for a time interval of 60 seconds if no new data is available from the agent. If the last reported value is older than 60 seconds than the usage value will be omitted.

To the list of all Werks