Windows Task Scheduler: State
|Distribution:||official part of Check_MK|
The Windows Task Scheduler Checks controlls the last return state of windows task scripts.
The check goes to WARNING state, if the task is disabled. If the Script from the Task returns
another return code as "0", "1", "267009", "267014", "267045", "-2147216609", "-2147750687"
the Check goes CRITICAL.
In order to run, its needed to copy the windows_tasks.ps1 script to the plugin folder of the agent.
Name of the task
One service is created for each enabled task.