Werk #14625: fortigate_sync_status: No longer crashes if the status is not available or is not known

Component Checks & agents
Title fortigate_sync_status: No longer crashes if the status is not available or is not known
Date Oct 7, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p14 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p30 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The check used to crash if the status of a cluster was not available (i.e. empty string) or if the status was not known (wasn't either 'synchronized' nor 'unsynchronized'). Now, if any of the above cases occur, the check turns to an UNKNOWN state and provides the appropriate description.

To the list of all Werks