Werk #16274: Unusable services for "HPE Proliant Servers: Raid Status"

Component Checks & agents
Title Unusable services for "HPE Proliant Servers: Raid Status"
Date Dec 15, 2023
Checkmk Version 2.3.0b1 2.2.0p18 2.1.0p38
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Affected Editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p18 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p38 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

This fixes some unusable services of the "HPE Proliant Servers: Raid Status" plugin. This werk only affects you if you observe unknown "Logical device <ITEM>" services after the upgrade.

In case you are affected please run a discovery on the affected hosts and fix the monitoring history as described below.

We observed some devices to send "\x00" (the null-byte) as their name (OID .1.3.6.1.4.1.232.3.2.3.1.1.14).

Not all components delt well with it, leading to unacknowlegable downtimes, non matching rules and the like. We now replace all null-bytes with "\\x00" (the literal containing the four characters backslash, 'x', 'zero', 'zero').

As of Checkmk 2.3, this should in fact no longer be necessary, but as we need a backportable solution, we change the item consistently in all versions.

If this affects you, you might also want to fix the services in the monitoring history by running

sed -i 's|\\x00|\\\\x00|' var/check_mk/core/history var/check_mk/core/archive/*

To the list of all Werks