Werk #18596: kernel_performance: Don't record negative number of context switches on reboot

Component Checks & agents
Title kernel_performance: Don't record negative number of context switches on reboot
Date Dec 8, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p18
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

After a system reboot, the "Kernel Performance" service could record a negative number of context switches. This was caused by a counter reset during the reboot process.

With this update, such negative results are now skipped and not recorded.

To the list of all Werks