Werk #17364: prism alerts with multiple expired licenses

Component Checks & agents
Title prism alerts with multiple expired licenses
Date Nov 15, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p22 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

You're affected by this werk in case you have multiple expired licenses on your prism system.

A possible backtrace may look like:

File "/omd/sites/SITE/lib/python3.12/site-packages/cmk/agent_based/v1/_checking_classes.py", line 447, in _create_result_fields
  raise ValueError("'\\n' not allowed in 'summary'")

The problematic newline characters are now rendered in a compatible way and the check continues to work.

To the list of all Werks