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

Komponente Checks & agents
Titel hp_msa_controller: Fix incompatibility between ruleset and check
Datum 08.12.2020
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0b2 2.1.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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)')

Zur Liste aller Werks