Notification for tasks running for long time in Task Scheduler #1
Open
Description
We have configured the script 'check_ms_win_tasks' to monitor tasks scheduled in the Task Scheduler of our Server. The output of the Script is as expected. It shows Total tasks, OK tasks, Failed tasks, Running tasks correctly. But it is not giving 'Critical Alerts' for the tasks which are running for long time or that are running indefinitely. We want to know how to set 'Critical Alerts' for tasks that are running for long time (more than 5 mins).