Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: f2836aa850286ce354226ac66f3ef5840b9cb3ff
https://github.com/tribe29/checkmk/commit/f2836aa850286ce354226ac66f3ef5840…
Author: Lorenz Koenig <lorenz(a)koenigs-net.de>
Date: 2021-05-07 (Fri, 07 May 2021)
Changed paths:
A .werks/12877
M cmk/base/plugins/agent_based/printer_supply.py
M tests/unit/cmk/base/plugins/agent_based/test_printer_supply.py
Log Message:
-----------
12877 FIX <tt>printer_supply</tt>: handle trailing null bytes in
prtMarkerColorantValue
The check plugin <tt>printer_supply</tt>, 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.
Closes #369
Change-Id: I74df27d4c5270e6053e326e705090b9fd91b8a72