Werk #14627: storcli_vrdives: KeyError() raised in the check function if the item vanished

Component Checks & agents
Title storcli_vrdives: KeyError() raised in the check function if the item vanished
Date Oct 11, 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)

storcli_vrdives check function did not check for the existence of an item in the preprocessed data and raised KeyError() in case it didn't exists. This change aborts the check resulting in UNKN state in that case.

To the list of all Werks