customized alerting with spotlight on sql server

16
Global Marketing Customized Alerting with Spotlight on SQL Server Greg Robidoux SQL Server Professional SQL Server DBA Professionals

Upload: sqldbapros

Post on 14-Dec-2014

4.951 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Customized Alerting with Spotlight on SQL Server

Global Marketing

Customized Alerting with Spotlight on SQL Server

Greg RobidouxSQL Server Professional

SQL Server DBA Professionals

Page 2: Customized Alerting with Spotlight on SQL Server

SQLDBApros2

This review is based on the FREE SQL Server

performance monitoring tool:

Spotlight on SQL Server. 

Page 3: Customized Alerting with Spotlight on SQL Server

SQLDBApros3

Managing SQL Server requires many tasks to be performed by DBAs, including:

• Making sure databases are backed up• Performance is acceptable• Releasing updates into production• Security changes• SQL upgrades• Adding databases• Monitoring• And more…

Managing SQL Server…

Page 4: Customized Alerting with Spotlight on SQL Server

SQLDBApros4

Maintenance and monitoring are not the most fun aspects of being a DBA, but without these tasks you are headed for disaster.

Maintenance can be set up on an automated schedule.

Monitoring requires human effort to ensure the real issues are being looked at and the non-critical items are put on the back burner.

Maintenance & monitoring…

Page 5: Customized Alerting with Spotlight on SQL Server

SQLDBApros5

In order to have a proper monitoring system you need to identify what needs to be monitored, how you are alerted, and what items are critical. 

Maintenance & monitoring…

The Problem: You can setup jobs to capture critical information in T-SQL and SQL Agent, but it is not as easy to set limitations for when and how frequently you are notified.

The Solution:

Spotlight on SQL Server Enterprise.

Page 6: Customized Alerting with Spotlight on SQL Server

SQLDBApros6

• Alarm Actions– Allow you to set up specific

criteria as to when an action should take place

– Based on how an alarm (alert) is configured

• Focus on the real issues and not be bothered by non-critical items.

Spotlight on SQL Server Enterprise

Example:

When CPU has reached 90% for 5 minutes or more during business hours, then an email might be sent to the DBA team.

You might have a highly intensive CPU operation that runs every night, which you know is not critical and do not want to be notified.

Page 7: Customized Alerting with Spotlight on SQL Server

SQLDBApros7

Conditions build criteria that determine if an alarm action is to be fired –

• The alarm is…– Identifies what alarms

make up this action (one or many)

• The connection’s tag is…– Setup tags that group

specific servers together (production, development, etc.)

• The day of the week is…– Determine which days of

the week the alarm should be fired.

Alarm Actions – Conditions

Page 8: Customized Alerting with Spotlight on SQL Server

SQLDBApros8

Actions allow us to determine what to do if all of the conditions are met –

• Send email to…– Which will send

an email to specified recipient

Alarm Actions – Actions

Page 9: Customized Alerting with Spotlight on SQL Server

SQLDBApros9

Descriptions define the rules for the alarms–

Alarm Actions – Descriptions

Page 10: Customized Alerting with Spotlight on SQL Server

SQLDBApros10

Here is another example of an alarm action based on page life expectancy that has occurred for at least 15 minutes with an action to write to the Spotlight on SQL Server log. Conditions –

Example: Page Life Expectancy

Page 11: Customized Alerting with Spotlight on SQL Server

SQLDBApros11

Actions –

Example: Page Life Expectancy

Page 12: Customized Alerting with Spotlight on SQL Server

SQLDBApros12

Descriptions –

Example: Page Life Expectancy

Page 13: Customized Alerting with Spotlight on SQL Server

SQLDBApros13

Based on the examples, we were able to further define when an action occurs based on several sets of criteria instead of just a counter or measure reaching a certain threshold.

This allows you to further hone in on the mission critical servers as well as critical items that need to be addressed by the DBA team.

There are several conditions and actions that can be taken besides just sending an email –

Trying to replicate this level of complexity would take a great amount of work in T-SQL and SQL Server Agent

Hone in…

Page 14: Customized Alerting with Spotlight on SQL Server

SQLDBApros14

You can set up the alarms once and then build different criteria for more critical servers so you can focus on

what is really important.

The beauty is…

Page 15: Customized Alerting with Spotlight on SQL Server

SQLDBApros15

Download a FREE TRIAL of Spotlight on SQL Server

and start using Alarm Actions

today!

Page 16: Customized Alerting with Spotlight on SQL Server

16

Learn More

View Greg’s Original PostDownload Spotlight on SQL Server