Werk #11761: hp_msa_controller: Fix incompatibility between ruleset and check

Component Checks & agents
Title hp_msa_controller: Fix incompatibility between ruleset and check
Date Dec 8, 2020
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0b2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The check was using a legacy format for the default parameters which confused the migration of autochecks during "omd update". In previous versions of Checkmk 2.0, this resulted in an error message like this:

 + Rewriting autochecks...
Transform failed: host='a', plugin='hp_msa_controller', ruleset='cpu_utilization_multiitem', params=(80.0, 90.0), error=AssertionError('Dictionary.transform_value() got a non-dict: (80.0, 90.0)')

To the list of all Werks