Werk #18150: db2_counters: Fix IndexError upon missing Perl installation

Component Checks & agents
Title db2_counters: Fix IndexError upon missing Perl installation
Date Aug 6, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p10 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Previously, the check plug-in db2_counters would crash with the following error:

  File "/omd/sites/prod/share/check_mk/checks/db2_counters", line 60, in parse_db2_counters
    timestamp = int(line[1])

if Perl was not installed on the monitored host. With this Werk, the check plug-in will now mention the missing install.

To the list of all Werks