Werk #16328: primekey_hsm_battery_voltage: Fixed parsing of section when battery voltage is not available

Komponente Checks & agents
Titel primekey_hsm_battery_voltage: Fixed parsing of section when battery voltage is not available
Datum 24.11.2023
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.0p16 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Sometimes the battery voltage was not available or it wasn't a number. That cause the parsing of the section to fail. This has now been fixed. In the case of voltage being: 'External Battery: absence", the check status will be OK and the summary will provide details that the battery is absent. If the voltage is not a number or is not absent, the voltage check will be skipped and the check result will the battery state.

Zur Liste aller Werks