# Telegram bot token from @BotFather BOT_TOKEN=123456:your-telegram-bot-token # Comma-separated Telegram user ids allowed to use the bot ALLOWED_IDS=111111111,222222222 # Prometheus/Alertmanager endpoints behind your own reverse proxy. # The bot sends "Authorization: Bearer " — the proxy must check it. AM_ALERTS_URL=https://your-domain/ambot/api/v2/alerts PROM_QUERY_URL=https://your-domain/prombot/api/v1/query AM_TOKEN=change-me PROM_TOKEN=change-me # Node names as used in the "server" label on your Prometheus targets SERVERS_ORDER=srv1,srv2,srv3 ALERT_POLL_SECONDS=45 ALERT_HTTP_TIMEOUT=15 # Report "monitoring unreachable" after this many failed polls in a row ALERT_WATCHDOG_FAILURES=4 # SQLite file with subscriptions and alert state ALERTBOT_DB=notifications.db