Werk #5416: Prevent MS Exchange checks from crashing upon WMI timeout

KomponenteChecks & Agents
TitelPrevent MS Exchange checks from crashing upon WMI timeout
Datum2017-12-18 16:12:21
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.4.0p22,1.5.0i2
LevelTrivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

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.