{"id":21684273,"url":"https://github.com/rudi-bruchez/busard","last_synced_at":"2026-05-06T00:37:06.024Z","repository":{"id":190623919,"uuid":"435289823","full_name":"rudi-bruchez/Busard","owner":"rudi-bruchez","description":"SQL Server alerting","archived":false,"fork":false,"pushed_at":"2021-12-06T09:37:22.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-27T15:57:04.887Z","etag":null,"topics":["alerting","sql-server","sql-server-monitoring","sqlserver"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rudi-bruchez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-12-05T22:05:06.000Z","updated_at":"2021-12-06T09:58:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee7b6f7f-e5ce-4dd7-935b-ce02bd82d3fc","html_url":"https://github.com/rudi-bruchez/Busard","commit_stats":null,"previous_names":["rudi-bruchez/busard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rudi-bruchez/Busard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudi-bruchez%2FBusard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudi-bruchez%2FBusard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudi-bruchez%2FBusard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudi-bruchez%2FBusard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rudi-bruchez","download_url":"https://codeload.github.com/rudi-bruchez/Busard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudi-bruchez%2FBusard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279180754,"owners_count":26120787,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alerting","sql-server","sql-server-monitoring","sqlserver"],"created_at":"2024-11-25T16:15:09.027Z","updated_at":"2025-10-16T10:56:38.921Z","avatar_url":"https://github.com/rudi-bruchez.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Busard\n\nSQL Server alerting.\n\nBusard is runinng in a Docker container (or wherever you want), connects to SQL Server, monitor whatever you want, and sends alerts wherever you want.\n\n## For now, it monitors ...\n\n- an extended event session, gathering errors and blocked process reports event (class [`Busard.SqlServer.Monitoring.IssuesWatcher`](./Busard.SqlServer/Monitoring/IssuesWatcher.cs))\n- AlwaysOn Availability group status changes (class [`Busard.SqlServer.Monitoring.AlwaysOnWatcher`](./Busard.SqlServer/Monitoring/AlwaysOnWatcher.cs))\n- `ERRORLOG` information. For now, alerts when a certain number of login failed is reached (class [`Busard.SqlServer.Monitoring.ErrorLogWatcher`](./Busard.SqlServer/Monitoring/ErrorLogWatcher.cs))\n\nWork in progress or possible additions :\n\n- SQL Server performance counters (class [`Busard.SqlServer.Monitoring.PerformanceCountersWatcher`](./Busard.SqlServer/Monitoring/PerformanceCountersWatcher.cs))\n- you can add other extended event session (class [`Busard.SqlServer.Monitoring.XEventsWatcherBase`](./Busard.SqlServer/Monitoring/XEventsWatcherBase.cs))\n\n## For now, it sends alerts to ...\n\n- email (class [`Busard.Core.Notification.EmailNotifier`](./Busard.Core/Notification/EmailNotifier.cs))\n- Telegram (class [`Busard.Core.Notification.TelegramNotifier`](./Busard.Core/Notification/TelegramNotifier.cs))\n- a SQL Server table (class [`Busard.Core.Notification.SqlServerTableNotifier`](./Busard.Core/Notification/SqlServerTableNotifier.cs))\n\nAny notification target should be easy to add : just implement `Busard.Core.Notification.NotifierBase`, send a pull request and I'll add it to Busard ;), or ask for it. It will be hepful to have WhatsApp, Signal, Slack and Teams notification.\n\n## Installation\n\nClone the repository to get the source : `git clone https://github.com/rudi-bruchez/Busard.git`\n\nBusard can be deployed manually in a docker container, or using CI/CD. You can also compile it manually and run it using `dotnet`. It is targeting .NET 6.\n\nA [`Dockerfile`](./Dockerfile) can be found in the root folder. I believe it is easy to understand by itself. You can build it using the [`docker image build`](https://docs.docker.com/engine/reference/commandline/image_build/) command.\n\nyou can also find in the root folder a [`docker-compose.yml`](docker-compose.yml) for Docker Compose, to inject the configuration files at the right place in the Docker image.\n\nConfiguration files are (in the [`Busard.Watcher`](./Busard.Watcher/) project) :\n\n- [`config.global.yaml`](./Busard.Watcher/config.global.yaml) — all the configuration needed, except the secrets : SQL Server connection passwords et Telegram token for instance.\n- [`config.secret.yaml`](./Busard.Watcher/config.secret.yaml) — the secrets. Useful for handling secrets in Kubernetes.\n\n### SQL Server configuration\n\nYou need to add a login for Busard, example is given here : [01.logins-and-permissions.sql](SqlServer.Scripts/01.logins-and-permissions.sql).\n\nYou need to create the issues extended event session, look at [02.xevent.sql](SqlServer.Scripts/02.xevent.sql)\n  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudi-bruchez%2Fbusard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frudi-bruchez%2Fbusard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudi-bruchez%2Fbusard/lists"}