Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

Email alert if SQL Server Services stop abruptly

$
0
0

 

Hi,

I am a SQL Server DBA and I am currently working on setting up email alerts in case if SQL Server services stop abruptly.I have currently written a VB script which runs every 1 hr and checks if a SQL Server Service is running or not. This VB Script runs with the help of Windows Task Scheduler.In case if a SQL Server service has stopped, this VB script immediately sends an email via. SMTP Server.

Please let me know if this is a good solution or is there any other better solution or is there any feature available in SQL/windows using which the same can be achieved. 

 

Environment:

SQL 2008 R2

OS: Windows Server 2008

Thanks a lot in advance :)

Regards,

Tauhid S Shaikh 

 

 


Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>