Setup SQLServer Alerts with Open Source SQLMonitor

Spread the love

If you are responsible for managing & monitoring SQLServers, then it is mandatory to have monitoring and alerting for critical issues of your SQL Servers.

For this purpose, open source SQLMonitor now has built-in Alert Engine. With the capability of this alert engine, alerts can be sent to Slack & Email to various teams. The following are some advantages –

  • Alert Engine has the capability to send alerts to Slack, PagerDuty or Email
  • Alerts can be sent to various teams including the DBA team
  • To avoid alert spamming, the Alert Key method is used to identify alerts uniquely
  • Alert Engine uses Slack Threads for updates thus avoiding spamming on Slack.
  • Each update on the alert is saved in the alert history table. Thus, there is no loss of any alert details.
  • Alerts auto-clear if the issue is gone, and auto-resolve after threshold time.
  • Alerts can be Acknowledged, Cleared, Suppressed & Resolved from Slack itself.

Alert Engine is built using Python & SQLServer. Adding new alerts is very easy.

At the time of writing this blog, I have added 14 core alerts include blocking, ag latency, CPU, memory, disk latency etc.

How to Setup Alert Engine

To setup the alert engine, following steps are required –

With monitoring & alert feature, SQLMonitor can serve as an enterprise monitoring tool. I have tested SQLMonitor with a total of 200+ servers. It works seemless without any issue.

I hope this will be helpful to anyone looking for open source SQLServer monitoring and alerting tool. If you like the blog, do like and subscribe. Thanks.

One Comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.