Werk #13565: cmciii_lcp_water: crashed when water flow measurements are missing

Component Checks & agents
Title cmciii_lcp_water: crashed when water flow measurements are missing
Date Feb 28, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p21 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The cmciii_lcp_water check crashed when water flow measurements were missing with the error message "UnboundLocalError: local variable 'unit_lines' referenced before assignment". This has been fixed.

To the list of all Werks