Werk #14617: check_uniserv: running the active check results in exception "TypeError: a bytes-like object is required, not 'str'"

Komponente Checks & agents
Titel check_uniserv: running the active check results in exception "TypeError: a bytes-like object is required, not 'str'"
Datum 17.01.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p21 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

check_uniserv implementation didn't encode the close command resulting in an exception TypeError: a bytes-like object is required, not 'str' being raised. This change adds the missing encoding among some general modernization.

Zur Liste aller Werks