Werk #13367: Support Diagnostics: Fix "Argument list too long" exception

Component User interface
Title Support Diagnostics: Fix "Argument list too long" exception
Date Oct 1, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p13 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When using support diagnostic options like, e.g. "Checkmk Configuration files", where files are packed to an archive, the error "OSError: [Errno 7] Argument list too long: 'check_mk'" could occur.

The automation commands will now be splitted for such options.

To the list of all Werks