Werk #14626: windows_tasks: Does not crash anymore if the "Scheduled Task State" is not available

Component Checks & agents
Title windows_tasks: Does not crash anymore if the "Scheduled Task State" is not available
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.0p15 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p30 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

There were cases when the "Scheduled Taks State" was not available in the agent output. This caused the check to crash. Now if this is the case, the check behaves the same as if the "Scheduled Task State" is equal to "Disabled".

To the list of all Werks