r/SQLServer • u/agiamba • Feb 24 '26
Discussion What kind of database monitoring and alerting do you use?
Two questions for the subreddit
What kind of database / instance monitoring are you running? What tools, and what kind of things are you watching - uptime, general performance, resource utilization, etc
What kind of alerting do you have setup to warn you of problems, either urgent (system is down or non responsive) or proactive / important (CPU utilization or Disk I/O has been close to maxed out for a while, X query performance is regressing, etc)
7
Upvotes
12
u/dodexahedron 1 Feb 24 '26
Teams. When users ping me saying "I can't access SomeInternalApp."
(Only half joking, since sometimes users beat the alerting systems).
For automated monitoring, several things, but the simplest parts of it are zabbix and log monitoring.
3
u/SOUL_VICE Feb 24 '26
Erik Darling just released a free open source SQL Server Performance Monitoring tool. I have not used it yet myself but it looks great.
https://erikdarling.com/free-sql-server-performance-monitoring/
https://github.com/erikdarlingdata/PerformanceMonitor
6
u/wiseDATAman Feb 24 '26
I created DBA Dash, which I use myself for monitoring and alerts. It's free and open-source with no feature restrictions or limitations. Private and self-hosted.
DBA Dash monitors all the things you mention and more. Waits are one of the key things to monitor. One of my favourite features is the running query capture (similar to sp_whoisactive, but optimized for regular collection) and slow query capture (RPC+Batch completed extended events) - and the way it links the two together.
In addition to performance monitoring, DBA Dash can also help with daily DBA checks. e.g. Backups, HA/DR, Agent Jobs, corruption etc.
DBA Dash has alerting capabilities, but it doesn't provide an out-of-the-box alert configuration. You decide what you want to alert on, what thresholds to use and which instances to apply it to. One size doesn't fit all and a noisy alert system can be as bad as no alerts. DBA Dash can alert on a variety of things, sending notifications to email, slack, pagetduty, google chat etc.
DBA Dash has a ton of customization options. You can even create your own collections and reports or add application-specific performance counters to monitor and alert on.
3
u/SeventyFix Feb 24 '26
Prometheus & Grafana
3
u/zrb77 Feb 24 '26
We are currently using SQL Sentry, we let our license expire bc of their recent changes and are looking for other options. Our Systems team is in same situation with Solarwinds. We are waiting for them to make their pick, but the DBA team is probably going to go with Redgate in the end.
We do have a set of alerts from Brent Ozar that we use too:
https://www.brentozar.com/blitz/configure-sql-server-alerts/
2
u/Ma7h1 Feb 24 '26 edited Feb 24 '26
Hey,
We have a wide range of databases at our company, e.g. DB2, MSSQL, MySQL, Postgres...
We use Checkmk for monitoring, with the plugins that come with it.
As standard, we get machine data, i.e. memory/file system/uptime, etc., and can send alerts directly.
With the plugins mentioned above, you typically get information such as locks, sessions, utilisation, backup, etc. for each database, depending on the database type.
This information is collected via an agent on the client side and then sent to the monitoring server. However, it is also possible to fire custom queries from the monitoring server to check things.
Since there is a free version of Checkmk based on Nagios, just give it a try.
Well, you can find a somewhat commercial site here
https://checkmk.com/product/database-monitoring
There you will also find the databases that are supported out of the box. However, since Checkmk also has a large community, there are numerous extensions for other databases.
Besides this, i am using checkmk in my homelab too ;)
EDIT: Sorry I somehow miss read Mssql is supported also, you can find in the documentation the things you can monitor
https://docs.checkmk.com/latest/en/monitoring_mssql.html
If you using Azure, checkmk does automaticaly gives you infos about your Databases
2
u/SkyHighGhostMy Feb 24 '26
I use DBAdash. It's free but it is missing (proper) alerting, so i look onto it from time to time. It is good for daily stuff like watching drives, backups and jobs. It is not really practical for performance monitoring. This one is watching over 100 SQL instances. For mission critical servers I use Redgate Monitor. This one is watching just about 20 SQL instances.
2
u/Eastern_Habit_5503 Feb 24 '26
I get up at 5am and check the SQL servers via VPN & Remote Desktop to my office PC. If the company that I work for would agree to pony up some $$$ for a monitoring tool, I would be pleasantly surprised.
2
u/phesago Feb 24 '26
nb4 ads for Erik Darling's new performance monitoring tool
2
u/perry147 Feb 24 '26
We use Spotlight to monitor everything you mentioned. It is ok. We have alerts for performance over 90% for a few minutes, deadlocks, disk space, and if the AG flips.
2
u/kladze Feb 25 '26
in house developed monitoring database, acting as an "application" that monitors about 2k+ sql servers, and about 1k+ other database technologies such as oracle, postgres, mysql, mariadb, sap sybase, ibm db2..
but all done via a single database within sql server.
1
u/Codeman119 Feb 24 '26
I used to use red gates monitoring software. But I haven’t chosen one for the new company yet because software is expensive so I’m gonna do a three month test and see if I can take one a week and vibe code one.
1
u/badlydressedboy Feb 24 '26
I use minidba. It does real time alerting on SQL server, azure SQL and MySQL. Spent time tuning the alerts until I only got what I cared about. Goes down to a much lower level of detail then redgate.
1
u/Broad-Construction-4 Feb 24 '26
I've just built a new tool for this based on my 17 years of DBA experience and enriched with rules and AI. I'd be very happy to offer you all a free pro license to give it a try in return for your feedback 🙂 https://autodba.samix-technology.com
1
u/contreras_agust Feb 24 '26
My team is spoiled, we use Redgate SQL Monitoring. Works well, for emergency alerting. We use pagerduty if any important alerts raised
1
u/SavaloyStottie Feb 24 '26
Idera SQL Diagnostic Manager for query & resource issues, server outages, missing backups etc plus some Azure alerts, SQL Agent alerts for server errors and job failure notifications for backup testing, index maintenance and such
1
u/Sokanas Feb 25 '26
Scream. If it stops working someone screams.
1
u/m82labs Feb 26 '26
I use the TIG (Telegraf, InfluxDB, Grafana) stack for monitoring. I have a docker based demo stack you can spin up and point at your instances here: https://github.com/m82labs/stig
For alerting I built a nagios plugin for sql server. It runs custom scripts to alert on common failure scenarios. https://github.com/m82labs/nagios-mssql_check
Nagios is sort of a pain, but you can source control all the config which is nice, and its very flexible.
1
u/rsndomq Mar 03 '26
If cost is driving the decision, the direction is obvious aka self hosted and open source.
Prometheus + Grafana is the default stack now. You get full control over what you collect, how you alert and you avoid vendor pricing surprises. DBA Dash is also solid if you’re SQL Server heavy and want something purpose built without enterprise licensing games. The bigger issue is the signal quality. Most enterprise monitoring platforms ship with generic threshold alerts that just create noise. You are better off defining SLO based alerts tied to real symptoms: sustained wait spikes, replication lag beyond X seconds, blocking chains over Y duration, disk latency over Z ms. Everything else belongs in dashboards, not pagers. Also separate monitoring from investigation. Monitoring tells you something is wrong. It does not explain why. When an alert fires, you still need proper tooling (Dbeaver, dbforge, navicat) to analyze execution plans, compare schema changes, and validate data drift after deployments. If people are still VPNing in at 5 AM to check jobs manually, that’s a process problem. Even a basic selfhosted stack with proper alert routing (Slack, PagerDuty, email) is better than manual spot checks.
0
u/agiamba Feb 24 '26
Not a dba, but involved in dba type stuff occasionally.
For 1, we primarily monitor instance uptime as well as uptime at the application level. We used to use SolarWinds for general monitoring, now a mix of Datadog, Querystore and other items, but I don't think we often proactively look into the monitoring, which leads to my question #2
2. We have alerts setup for uptime and certain resource usage metrics. We don't have any alerts or reports on general performance trends and only typically only investigate if there are complaints- I don't love this
We use a combination of different tools for alerts like Datadog, Pingdom and others primarily on uptime and system resource metrics. I think we probably are both missing some helpful alerting (as well as not proactively reviewing trends or reports) and we are overwhelmed by the alerting we have to the point that we don't really take prompt action on the alerts we do have. I also do not love this.
Curious to others experiences