Werk #22203: Crash reports with non-UTF-8 agent output can be opened again
| Component | User interface | ||
| Title | Crash reports with non-UTF-8 agent output can be opened again | ||
| Date | Sep 14, 2026 | ||
| Level | Trivial Change | ||
| Class | Bug Fix | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
Opening a crash report whose agent output was not valid UTF-8 replaced the crash report page with a second crash:
C+: UnicodeEncodeError: 'utf-8' codec can't encode character ... surrogates not allowed C-:
This affected agents sending output in another encoding, most often a Windows agent reporting a host name or path containing a character outside UTF-8.
Since the agent output is shown on the page used to investigate a crash, the effect was that exactly those crashes could not be looked at. The agent output is now displayed with the undecodable characters replaced, so the report opens and the rest of the output is readable.