Werk #12086: alcatel_power_aos7: throws exception "KeyError()" on empty power_type_entry

Component Checks & agents
Title alcatel_power_aos7: throws exception "KeyError()" on empty power_type_entry
Date Mar 5, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0b1 2.0.0p9
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Some {{alcatel_power_aos7}} seem to provide an empty string rather than one of '0', '1' or '2'. This change will take an empty element as '0', i.e. {{"no power supply"}}.

To the list of all Werks