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 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.0.0b2 2.1.0b1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
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)')