I have added the Windows Scheduled task monitor to a node (in this case nodeID 391 as seen below. And I need to alert when tasks fail, but also when a specific task runs too long.
If I run the SWQL after that task has been running over 30 minutes it does return the correct result. I am not sure how to convert it into an alert when this condition is met.
SELECT ComponentID, NodeID, Name
Where Name = 'Task Name' and NodeID = '391' and State = '4' and MINUTEDIFF(ToLocal(LastRunTime), GETDATE()) > '30'
Thanks for any suggestions
Solved! Go to Solution.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 150,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.