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
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1 2.1.0b2 2.0.0p21
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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