- Organized 252 files across project - Root directory: 187 → 2 files (98.9% reduction) - Moved configuration guides to docs/04-configuration/ - Moved troubleshooting guides to docs/09-troubleshooting/ - Moved quick start guides to docs/01-getting-started/ - Moved reports to reports/ directory - Archived temporary files - Generated comprehensive reports and documentation - Created maintenance scripts and guides All files organized according to established standards.
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=""
|
|
|