Werk #5416

KomponenteChecks & Agents
TitelPrevent MS Exchange checks from crashing upon WMI timeout
Datum2017-12-18 16:12:21
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.4.0p22,1.5.0i2
Level1 - Triviale Änderung
KlasseBug Fix
KompatibilitätCompatible - no manual interaction needed

Werk #5411 introduced the identification and handling of WMI timeouts. Some of nested subsections, at least those of MS Exchange, may under certain circumstances produce an unprecedented order of output lines suddenly ending in a WMI timeout. This scenario was not expected when preparing #5411, causing the parsing of some MS Exchange subsections to fail and the corresponding check to crash.

This fix ensures that a WMI timeout is properly parsed regardless of where it appears in a subsection output. The corresponding checks no longer crash but issue a PENDING/UNKNOWN result.