41 lines
878 B
Plaintext
41 lines
878 B
Plaintext
|
|
# Alerting Configuration
|
||
|
|
# Configuration for tunnel failure alerts
|
||
|
|
|
||
|
|
# Enable/disable alerting
|
||
|
|
ALERT_ENABLED=true
|
||
|
|
|
||
|
|
# Email configuration
|
||
|
|
ALERT_EMAIL_ENABLED=true
|
||
|
|
ALERT_EMAIL="admin@yourdomain.com"
|
||
|
|
ALERT_EMAIL_SUBJECT_PREFIX="[Cloudflare Tunnel]"
|
||
|
|
|
||
|
|
# Webhook configuration
|
||
|
|
ALERT_WEBHOOK_ENABLED=false
|
||
|
|
ALERT_WEBHOOK_URL=""
|
||
|
|
|
||
|
|
# Slack webhook (if using Slack)
|
||
|
|
SLACK_WEBHOOK_URL=""
|
||
|
|
|
||
|
|
# Discord webhook (if using Discord)
|
||
|
|
DISCORD_WEBHOOK_URL=""
|
||
|
|
|
||
|
|
# Alert thresholds
|
||
|
|
ALERT_ON_SERVICE_DOWN=true
|
||
|
|
ALERT_ON_CONNECTIVITY_FAILED=true
|
||
|
|
ALERT_ON_DNS_FAILED=true
|
||
|
|
|
||
|
|
# Alert cooldown (seconds) - prevent spam
|
||
|
|
ALERT_COOLDOWN=300
|
||
|
|
|
||
|
|
# Alert recipients (comma-separated for email)
|
||
|
|
ALERT_RECIPIENTS="admin@yourdomain.com,ops@yourdomain.com"
|
||
|
|
|
||
|
|
# PagerDuty integration (optional)
|
||
|
|
PAGERDUTY_ENABLED=false
|
||
|
|
PAGERDUTY_INTEGRATION_KEY=""
|
||
|
|
|
||
|
|
# Opsgenie integration (optional)
|
||
|
|
OPSGENIE_ENABLED=false
|
||
|
|
OPSGENIE_API_KEY=""
|
||
|
|
|