?
Solved

SQL Server Automation Alert

Posted on 2014-03-18
5
Medium Priority
?
313 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 500 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 1000 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 1000 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 500 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

764 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