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

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL Server Agent Service

Author  Topic 

avmreddy17
Posting Yak Master

180 Posts

Posted - 2006-02-11 : 16:26:55
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
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2006-02-12 : 21:15:51
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
   

- Advertisement -