Werk #12877: printer_supply: handle trailing null bytes in prtMarkerColorantValue

Component Checks & agents
Title printer_supply: handle trailing null bytes in prtMarkerColorantValue
Date May 6, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The check plugin printer_supply, which monitors the fill levels of printer supplies via SNMP, is now able to handle trailing null bytes in the field prtMarkerColorantValue (observed for example for HP Jetdirect 153). Previously, such null bytes broke the displaying of the corresponding service output in the GUI.

To the list of all Werks