Werk #22549: Redfish PSU: accept voltage with unit
| Component | Checks & agents | ||||||
| Title | Redfish PSU: accept voltage with unit | ||||||
| Date | Oct 5, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Some Redfish BMCs report the line input voltage of a power supply as
text with a unit, for example 220V, instead of a number. The
"Power supply" service then crashed with
ValueError: could not convert string to float: '220V'.
A trailing "V" is now accepted, so such power supplies report their input voltage as usual. Any other value that is not a number is shown as UNKNOWN with the value the device sent, while input power, output power and capacity are still reported.