Werk #18559: Fix crash in APC NetShelter PDU monitoring caused by null-padded SNMP names
| Component | Checks & agents | ||||
| Title | Fix crash in APC NetShelter PDU monitoring caused by null-padded SNMP names | ||||
| Date | Jun 3, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
Some APC NetShelter Advanced Rack PDUs (APDU series) report their bank, device and outlet names as fixed-width, null-terminated strings over SNMP (e.g. "B6\x00" instead of "B6"). Previously, these null bytes were used verbatim in the service item and propagated into the RRD specification, crashing RRD info-file creation.
Bank, device and outlet names are now sanitized before use, so monitoring these PDUs works correctly.