I'm looking to set an alert for when the SQLagent.exe service goes down on one of my SQL servers. I've set up a couple of application monitor templates where I have added a Windows Service Monitor. The Windows Service Monitor uses WMI to look for the Net Service Name SQLSERVERAGENT. I have also set up a similar component monitor for our servers with instances to monitor SQLAGENT.EXE.
Is there any way to set a trigger condition based on this?
Thanks,
Mike