Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: f09c3a701fe849306892745626fe9a861b6ba07d
https://github.com/Checkmk/checkmk/commit/f09c3a701fe849306892745626fe9a861…
Author: Luka Racic <luka.racic(a)checkmk.com>
Date: 2023-11-28 (Tue, 28 Nov 2023)
Changed paths:
A .werks/16328
M cmk/base/plugins/agent_based/primekey_hsm_battery_voltage.py
M tests/unit/cmk/base/plugins/agent_based/test_primekey_hsm_battery_voltage.py
Log Message:
-----------
16328 FIX primekey_hsm_battery_voltage: Fixed parsing of section when battery voltage is
not available
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 and the battery voltage will be ignored.
The result of the check will be the battery state.
SUP-16455
Change-Id: I74434428332838028defe76d09e160c59386a26a