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.
| Author |
Topic |
|
JeffS23
Posting Yak Master
212 Posts |
Posted - 2007-12-27 : 10:17:08
|
| I am trying to create an alert on my new SQL 2005 box to email alert/notify when/if the service ever stops, etc. Is there an existing alert I can use or do I have to script one, and if I do - how would I do it? |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2007-12-27 : 10:24:02
|
| there's no such event that i know of.you could write a simple service that pings the server or reads the error log every n seconds..._______________________________________________Causing trouble since 1980blog: http://weblogs.sqlteam.com/mladenpSSMS Add-in that does a few things: www.ssmstoolspack.com <- new version out |
 |
|
|
JeffS23
Posting Yak Master
212 Posts |
Posted - 2007-12-27 : 10:26:05
|
| is there a WMI script or something that can check if a service is running or stopped? |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
|
|
|
|
|