check_ms_win_tasks icon indicating copy to clipboard operation
check_ms_win_tasks copied to clipboard

Notification for tasks running for long time in Task Scheduler

Open nevilleonline opened this issue 9 years ago • 3 comments

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).

nevilleonline avatar Apr 13 '15 10:04 nevilleonline

This is not supported at the moment. I can't give an eta when I would ever implement this feature.

willemdh avatar Apr 13 '15 10:04 willemdh

Hi, First of all, nice works! I'm also interested on this feature, I would like to receive a WARNING as exit code ( 1 ) for tasks "running" that are still running after max attempt ( HARD state )

I think it will be amazing to have this feature as "parameter" like the other option -IF,-EF etc, to give maximum flexibility to this plugin!

Thanks

Maverick87Shaka avatar Jan 19 '17 11:01 Maverick87Shaka

First of all also from me. Nice work. Thank you! And my question is: is there anything new about this feature?

Sebido77 avatar Nov 29 '19 10:11 Sebido77