SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

avmreddy17
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?

Thx
Venu

jen
Flowing Fount of Yak Knowledge

Sweden
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: http://www.google.com/search?hl=en&q=sql+heartbeat



HTH

--------------------
keeping it simple...
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.03 seconds. Powered By: Snitz Forums 2000