Free on-demand webinars: Learn how to set up, configure, and get more out of Checkmk – Pick your webinar

Werk #22971: DB2 Counters: don't crash on a multi-line error message

Component Checks & agents
Title DB2 Counters: don't crash on a multi-line error message
Date Nov 3, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p20 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p41 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

If DB2 returned an error message instead of a counter value and the message wrapped onto a second line, parsing the DB2 counters failed with IndexError: list index out of range. All DB2 Counters services of the host crashed.

The continuation line is now ignored. The affected database shows the error as an invalid value (CRIT), all other databases are checked as before.

To the list of all Werks