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 |
|
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.