Windows Scheduled Task Monitoring: Custom Datasource
Windows Scheduled Task Monitoring:
Do Anyone created a Custom DS to discover the Windows Scheduled Task from the host device and monitor for the job failures ?
Prabakaran
Posted 3 years ago·Last reply 3 years ago
4 comments
LM User
·3 years agoShouldn’t be too tough to build. Just reference this example. Adjust the script block so that instead of running Get-ChildItem, it runs Get-ScheduledTask instead.
Troy Frommer
·3 years agoI would be interested in a custom datasource for the Windows Task Scheduler as well. The requirements behind my request are to alert when a scheduled task is disabled / enabled. It doesn’t look like there is anything for this today and the scope of a job monitor isn’t a fit for this either.
LM User
·3 years agoDon’t know of any. You could setup a job monitor. You could automate that through the API.
https://www.logicmonitor.com/support/logicmodules/batchjobs/setting-up-batchjob-monitoring/examples-of-batchjob-monitoring#:~:text=with%20an%20error.-,Example%202%3A%20Monitor%20Windows%20Scheduler%20Task,-Assume%20the%20monitored
https://www.logicmonitor.com/support/logicmodules/batchjobs/setting-up-batchjob-monitoring/batchjobs
Mark Lemm
·3 years agoHave you taken a look at the JobMonitor feature? There is an example detailing monitoring for Windows Scheduler tasks.