Werk #16890: check_ewon: ValueError (incomplete format)

Komponente Checks & agents
Titel check_ewon: ValueError (incomplete format)
Datum 06.08.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p12 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p33 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Formatting a value with unit % would result in an invalid format-string making check_ewon crash with an exception ValueError (incomplete format). This change makes check_ewon use f-formatting instead of %-formatting.

Zur Liste aller Werks