Werk #13118: sentry_pdu, raritan_pdu_plugs: Fix parameter handling

Component Checks & Agents
Title sentry_pdu, raritan_pdu_plugs: Fix parameter handling
Date Aug 11, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0i1 2.0.0p10
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required

The check plugins sentry_pdu and raritan_pdu_plugs both monitor the status of PDUs. In the discovery phase, both plugins store the current states of the discovered PDUs. The subsequently computed check results are based on a comparison of the discovered states with the current states of the PDUs. Both plugins did not handle unknown states properly.

Furthermore, users have the option to explicitly configure target states for the PDUs. In this case, the user-configured states are preferred over the discovered states. This mechanism was broken for sentry_pdu.

Finally, when updating Checkmk from 1.6 to 2.0 and also during updates within 2.0, the states discovered by the plugin sentry_pdu were lost.

To fix these issues, users have to re-discover the corresponding services "Plug ...". Note that for raritan_pdu_plugs, depending on the current configuration, a re-discovery might not be necessary, but we recommend it preemptively.

To the list of all Werks