Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
*

Dean Willson presented to fwPASS on
10/22/2013
* Peace of Mind
* Redundancy
* One place to see exceptions
* Notifications: on success, on fail, or both?
* 40 success ema...
* Deleted or missing Agent schedule
* Disabled agent job
* No mail profile (ex: restored user databases,
but not master)

...
* Administrative utility database (or at least a table)
to store the daily check results from each server

* Scheduling me...
* http://ola.hallengren.com/
* http://www.brentozar.com/blitz/

*
*
*
*
*
*
*
* Dean Willson
* Sr. Data Architect at Aunt Millie’s Bakeries
* fwPASS http://fwPASS.org
* deanowillson@gmail.com
* Linked...
Automating sql server daily health checks
Automating sql server daily health checks
Upcoming SlideShare
Loading in …5
×

Automating sql server daily health checks

5,852 views

Published on

Presentation on using a PowerShell script to query a list of SQL Servers against the msdb databases for failed jobs and other exceptions for a daily email list of all the issues that occurred the previous day.

Published in: Technology

Automating sql server daily health checks

  1. 1. * Dean Willson presented to fwPASS on 10/22/2013
  2. 2. * Peace of Mind * Redundancy * One place to see exceptions * Notifications: on success, on fail, or both? * 40 success emails/day (full). Hundreds/day (log). Did I get them all? *
  3. 3. * Deleted or missing Agent schedule * Disabled agent job * No mail profile (ex: restored user databases, but not master) * Alert system not configured * Job notification not configured * Agent turned off * Exchange was down *
  4. 4. * Administrative utility database (or at least a table) to store the daily check results from each server * Scheduling method to run jobs like backups, index rebuilds, consistency checks, etc. * Text file list of SQL Servers/Instances to check * Powershell script to query the servers * Method to schedule the PoSH script (Scheduled Task) * Reporting Services (Improved, but optional) *
  5. 5. * http://ola.hallengren.com/ * http://www.brentozar.com/blitz/ *
  6. 6. *
  7. 7. *
  8. 8. *
  9. 9. *
  10. 10. *
  11. 11. *
  12. 12. * Dean Willson * Sr. Data Architect at Aunt Millie’s Bakeries * fwPASS http://fwPASS.org * deanowillson@gmail.com * LinkedIn http://linkedin.com/in/deanwillson * Twitter @deanwillson * Blog http://dean-o.blogspot.com *

×