Simple notification script for SQL Server DBA's.
- Multiple hosts
- Currently support only disk free space alert
- Currently support only Telegram messenger
- Currently support only Windows Authentication (
Trusted_Connection=yes)
- Python 3.7+
- Microsoft ODBC Driver 17 for SQL Server
- Install all requirements:
pip install -r requirements.txt - Add servers in config file (
config.toml), for example:[[servers]] host_name = "my-server-1" [[servers]] host_name = "my-server-2" [[servers]] host_name = "..." - Add Telegram
api_tokenandchat_idin config file (config.toml) - Run the script
main.pyperiodically on your server via SQL Server Agent Job or Windows Scheduler