Werk #22411 · Sep 22, 26
palo_alto: report unknown HA states instead of crashing
If a Palo Alto device reported a high availability state that Checkmk has no
monitoring state for, the Palo Alto State service produced a crash report with
KeyError instead of a result. This happened for example with the state
initial on installations whose rule for this check was saved before that state
could be configured, and it happens with any HA state a future PAN-OS release
introduces.
The service now reports UNKNOWN for such a state and names it, for example
HA local state: initial (no monitoring state defined for this value). The
firmware version and the remaining states are reported as before, so a device in
an unexpected HA state is still monitored.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p15All Editions
- 2.4.0p39All Editions