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

Komponente Checks & agents
Titel State and Count of Processes: Calculate process creation time consistently
Datum 05.06.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & 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.

Zur Liste aller Werks