July 18, 2008 at 7:26 am
I need to provide a way for an alert to be raised in Nagios (or just an email initially) whenever SQL Agent is not running.
I have it set to automatically restart but I have a need to be aware when it restarts (or doesnt!)
Is there any simple (or even not so simple) way to do this?
Thank you
Sue
July 18, 2008 at 7:37 am
I believe Microsoft Operations Manager (MOM) can do this. You could also write a custom service in .NET that uses WMI to monitor services and/or the windows event log for the start and stop events.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 18, 2008 at 7:41 am
thank you, you have given me some things to look into.
July 18, 2008 at 10:30 am
found a really dirty way to see if it is running :-
tasklist /svc | findstr "AGENT"
This seems to pick out the SQLAGENT job and if we then shut it down, its not there anymore.
At the moment, this seems to be the easier option to test!
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply