Werk #18475: db2_logsizes: fix crash when write is suspended
Component | Checks & agents | ||||||
Title | db2_logsizes: fix crash when write is suspended | ||||||
Date | Sep 23, 2025 | ||||||
Level | Trivial Change | ||||||
Class | Bug Fix | ||||||
Compatibility | Compatible - no manual interaction needed | ||||||
Checkmk versions & editions |
|
SELECT total_log_used from sysibmadm.snapdb
(which is used internally by
db2_logsizes) returns "-"
when writes are suspended in db2.
The check did not consider this edgecase and crashed with ValueError: invalid
literal for int() with base 10: '-'
. Now the check will go to UNKNOWN
and
show Can not read usedspace
.