Werk #14592: PSU Capacity Levels: Remove error message during discovery

Component Checks & agents
Title PSU Capacity Levels: Remove error message during discovery
Date Mar 10, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p35 2.1.0p25 2.2.0b1 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

During discovery the following error could occur

Invalid check parameter: PSU Capacity Levels: The value 80 has type int, but must be of type float
Variable: checkgroup_parameters:hw_psu
Parameters:
{'levels': (80, 90)}

This error is cosmetic in nature and does not affect the behaviour of the check. This werk fixes the issue.

To the list of all Werks