Werk #15767: check_mk_agent: Fix crash in AIX and Solaris agents if agent profiling is on

Component Agent bakery
Title check_mk_agent: Fix crash in AIX and Solaris agents if agent profiling is on
Date Jun 26, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p30 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

AIX and Solaris agents would previously crash if agent profiling was activated with LOG_SECTION_TIME=true. The error in the agent output was:

./mk_filestats.py.log: cannot create [No such file or directory]

To the list of all Werks