Hi,
We are using check_ms_win_tasks.ps1 plugin to monitor task scheduler status.
We have setup this plugin to monitor Task scheduler in Windows 2008 server and it is working as expected.
[nagios@s930l3090 ~]$ /usr/local/nagios/libexec/check_nrpe -u -H s910a3000.group.rwe.com -t 120 -c check_ms_win_tasks -a '-IF TEST -IT SQL_DeDuplication_CLOUD'
1 / 1 tasks ran succesfully. |'Total Tasks'=1 'OK Tasks'=1;;;0;1 'Failed Tasks'=0;;;0;1 'Running Tasks'=0;;;0;1 'Disabled Tasks'=0;;;0;1
[nagios@s930l3090 ~]$
Can you let us know if it is possible to start the Task Scheduler whenever it finds it is Not running .
Start Task Scheduler in Windows
Re: Start Task Scheduler in Windows
You can probably use an event handler to do that. Here's an example of how to restart a Windows service via NRPE and NSClient++:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
I haven't really tested this with the Task Scheduler, but it should work. Let us know if this helped.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
I haven't really tested this with the Task Scheduler, but it should work. Let us know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Start Task Scheduler in Windows
Thank You.
I am able to restart the task scheduler using event handlers.
I am able to restart the task scheduler using event handlers.
Re: Start Task Scheduler in Windows
Yes. Please close this topic.
-
bolson
Re: Start Task Scheduler in Windows
Closing topic as resolved.
Thank you for using the Nagios Support Forum.
Thank you for using the Nagios Support Forum.