Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL Server Agent Service
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

180 Posts

Posted - 02/11/2006 :  16:26:55  Show Profile  Reply with Quote
What is the best way to monitor , if the SQL Server Agent is running or not and send out an EMail if the any of the SQL Server Services stops?


Flowing Fount of Yak Knowledge

4110 Posts

Posted - 02/12/2006 :  21:15:51  Show Profile  Send jen a Yahoo! Message  Reply with Quote
i don't know if it's the best way but here are some options

check the status by:
1.sending out a simple connection request via an exe, bat or sql query
2.checking the active connections in task manager (not sure if there is a way to actively extract the info)
3.send out an email periodically from the sql server, if it reaches the recipient, service is online (I actually did this to check for replication status and make that it is online whenever the scheduled transfer is made)

Also, check this out:


keeping it simple...
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000