Werk #15894: State and Count of Processes: Calculate process creation time consistently

Component Checks & agents
Title State and Count of Processes: Calculate process creation time consistently
Date Jun 5, 2023
Checkmk Version 2.3.0b1 2.2.0p3 2.1.0p30
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Affected Editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p30 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The creation time of a process, as displayed by the "State and Count of Processes" service is calculated by taking the difference between the current time and the time elapsed since the process was started. Previously, this used the time the check was performed at as the current time, leading to different creation times if different services were created for the same process. Now the time the agent section was parsed is used instead.

Note that this will still lead to incorrect creation times if it takes too long to fetch the agent output.

To the list of all Werks