We have a number of Windows 2008 r2 servers set to run a scheduled task once a week using the built in task scheduler.
We also have another server running SolarWinds which collects information on the servers via SNMP.
If the task running via task scheduler runs too long or fails it can cause us a lot of issues that are not always immediately obvious. The script itself isn't what causes the subsequent issues, rather the other processes it ties up and then doesn't release, so we can't set a timer to kill it off.
Is there an easy way to collect information about the task via SNMP so that it appears on our status board if there is an issue?
Usually we are notified when a process is using a lot more memory or processor than usual but this threshold is set too high to pick up the running task in question as it is just a small VBA script.