Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

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
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
2.0.0p9 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

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