SlideShare uma empresa Scribd logo
1 de 16
Customized Alerting with
Spotlight on SQL Server
Greg Robidoux
SQL Server Professional

SQL Server DBA Professionals

Global Marketing
This review is based on the
FREE SQL Server
performance monitoring
tool:
Spotlight on SQL Server.

2

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

3

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

SQLDBApros
Maintenance & monitoring…
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.

4

SQLDBApros
Maintenance & monitoring…
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.
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.

5

The Solution:

Spotlight on
SQL Server
Enterprise.

SQLDBApros
Spotlight on SQL Server Enterprise
• 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.
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.
6

SQLDBApros
Alarm Actions – Conditions
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.

7

SQLDBApros
Alarm Actions – Actions
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

8

SQLDBApros
Alarm Actions – Descriptions
Descriptions define the rules for the alarms–

9

SQLDBApros
Example: Page Life Expectancy
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 –

10

SQLDBApros
Example: Page Life Expectancy
Actions –

11

SQLDBApros
Example: Page Life Expectancy
Descriptions –

12

SQLDBApros
Hone in…
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

13

SQLDBApros
The beauty is…

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.

14

SQLDBApros
Download a FREE TRIAL of Spotlight
on SQL Server
and start using Alarm Actions today!

15

SQLDBApros
Learn More
View Greg’s Original Post
Download Spotlight on SQL Server

16

Mais conteúdo relacionado

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Destaque

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Customized Alerting with Spotlight on SQL Server

  • 1. Customized Alerting with Spotlight on SQL Server Greg Robidoux SQL Server Professional SQL Server DBA Professionals Global Marketing
  • 2. This review is based on the FREE SQL Server performance monitoring tool: Spotlight on SQL Server. 2 SQLDBApros
  • 3. Managing SQL Server… Managing SQL Server requires many tasks to be performed by DBAs, including: • • • • • • • • 3 Making sure databases are backed up Performance is acceptable Releasing updates into production Security changes SQL upgrades Adding databases Monitoring And more… SQLDBApros
  • 4. Maintenance & monitoring… 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. 4 SQLDBApros
  • 5. Maintenance & monitoring… 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. 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. 5 The Solution: Spotlight on SQL Server Enterprise. SQLDBApros
  • 6. Spotlight on SQL Server Enterprise • 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. 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. 6 SQLDBApros
  • 7. Alarm Actions – Conditions 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. 7 SQLDBApros
  • 8. Alarm Actions – Actions 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 8 SQLDBApros
  • 9. Alarm Actions – Descriptions Descriptions define the rules for the alarms– 9 SQLDBApros
  • 10. Example: Page Life Expectancy 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 – 10 SQLDBApros
  • 11. Example: Page Life Expectancy Actions – 11 SQLDBApros
  • 12. Example: Page Life Expectancy Descriptions – 12 SQLDBApros
  • 13. Hone in… 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 13 SQLDBApros
  • 14. The beauty is… 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. 14 SQLDBApros
  • 15. Download a FREE TRIAL of Spotlight on SQL Server and start using Alarm Actions today! 15 SQLDBApros
  • 16. Learn More View Greg’s Original Post Download Spotlight on SQL Server 16