Werk #13517: gude_pdu: Fix errors during discovery and checking

Component Checks & agents
Title gude_pdu: Fix errors during discovery and checking
Date Nov 17, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0i1 2.0.0p16
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The check plugins gude_pdu_8301 and gude_pdu_8310 crashed with "TypeError: list indices must be integers or slices, not str" for already discovered services. Furthermore, when discovering services, these plugins crashed with "ValueError (item must be None or of type `str`)".

To the list of all Werks