Solved

SQL Server Automation Alert

Posted on 2014-03-18
5
300 Views
Last Modified: 2014-03-28
I would really be grateful if I can get help in creating the following alerts inside my sql server environments.

How can I create alert for CPU - if CPU greater than 90% and not drop below in 1 min then alert message send via text message.

How can I create alert for slow running SQL Server - if memory use is greater then 90% and not drop below that in 1min then alert.

How can I create alert for locking and blocking greater than 2min and not cleared out without 2 min then alert

How can I create alert for sudden SQL Server shut down and get notified immediately by a text message.

How can I create alert to get notified when database space is greater than 80% and get an immediate text message to increase database space.

Thanks for your help
0
Comment
Question by:Favorable
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 69

Assisted Solution

by:Scott Pletcher
Scott Pletcher earned 125 total points
ID: 39938353
>> How can I create alert for sudden SQL Server shut down and get notified immediately by a text message. <<

If SQL Server shut down, it obviously wouldn't be able to send the notification :-).  In that situation, you'd need something outside of SQL Server to notify you.
0
 
LVL 75

Assisted Solution

by:Anthony Perkins
Anthony Perkins earned 250 total points
ID: 39938537
if memory use is greater then 90% and not drop below that in 1min then alert.
Out of curiosity, why is this a problem?  When you have been using SQL Server sometime and unless you limit the max memory drastically, it will use all available memory and not release it.  So typically it will reach to somewhere around 95% and stay there until the next time you shutdown.
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 250 total points
ID: 39938540
But to answer your question, you best bet is to purchase a third party tool such as Red-Gate's SQL Monitor to take care of most of these types of problems.
0
 
LVL 5

Assisted Solution

by:Pankaj_401
Pankaj_401 earned 125 total points
ID: 39939418
As suggested above, If you are open with third party option, you can have check this application which is capable  to fulfill such terms and notify via customized emails for each critical changes with real-time alerts.
0
 

Author Comment

by:Favorable
ID: 39962315
The third party tool is actually doing the job.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how the fundamental information of how to create a table.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question