Blog Post

T-SQL Tuesday #66 – Monitoring

,

twittergoogle_plusredditlinkedinmail

Thank you Cathrine Wilhelmsen for hosting this week’s #tsql2sday.

If I knew that this T-SQL Tuesday was going to be about monitoring I would have saved my Monitoring SQL Agent Jobs post from last month. No worries though! I think I’ll talk more generally about monitoring.

If you don’t monitor anything else…

  • Up/Down Monitoring
  • Are my servers and/or SQL services up or down? If SQL Server is down, none of the other stuff really matters.

  • Capacity Monitoring
  • How are my physical resources? Am I running out of disk space? Is my CPU running hot all the time? How is my system memory doing and am I paging at all?

  • SQL Agent Job Monitoring
  • Are all of my SQL Server Agent jobs such as backups, index rebuilds and integrity checks running successfully every day?


If you don’t monitor anything else in your SQL Server environment, you need to monitor these things. They encompass the foundation of a DBA’s responsibilities, availability and recoverability. Yes there are other things that we can monitor like SQL Server internals and query performance, but those are kinda pointless if your SQL Server is unavailable for any reason.

If you read my Monitoring SQL Agent Jobs post from last month you will know that I had just begun a new position that had no monitoring. We also didn’t have a budget to go out and buy a solution, which is precisely what motivated me to learn PowerShell. I needed to know when my SQL Servers were having a problem so I decided to script my own solutions. If you are working with SQL Server you already have all of the tools you need to put together your own custom monitoring solutions.

Take an inventory of your monitoring. Are you covering the basics for availability and recoverability? Are you confident that you will know when you are running out of disk space? Do you know when your SQL Server is down before your users do? Do you know when your backup jobs are failing? If you answered no to any of these questions, I highly recommend developing a plan to fill those gaps. There is peace of mind in having a solid monitoring solution in place. Monitoring isn’t really an option when it comes to being a DBA, it is a must have.

twittergoogle_plusredditlinkedinmail

Rate

You rated this post out of 5. Change rating

Share

Share

Rate

You rated this post out of 5. Change rating