Automation & Notifications¶
Automation is the glue that connects our infrastructure, media, and monitoring stacks.
🔔 Apprise¶
Apprise is our central notification server, providing a unified API for sending alerts to over 100+ services.
- Unified Format: All internal services send notifications to
http://apprise:8000/notify/. - Telegram Integration: Alerts are routed to a private Telegram bot via the
TELEGRAM_URLenvironment variable.
🌉 Bridge¶
Bridge is a custom Python service that acts as an intelligent intermediary between our stacks.
| Role | Description |
|---|---|
| Health Proxy | Buffers and debounces healthcheck alerts. |
| Webhook Normalization | Converts disparate webhook formats into standard Apprise notifications. |
| Alert Enrichment | Adds context (e.g., container uptime) to monitoring alerts. |
🛠️ Workflows¶
Monitoring Workflow¶
- Grafana detects a metric anomaly.
- An alert is sent to Apprise.
- Apprise delivers the alert to a private Telegram channel.
Media Workflow¶
- Sonarr completes a download.
- A post-import script triggers
mkv2mp4.py. - Bridge sends a "Media Ready" notification to Telegram via Apprise.