- 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.
45 lines
888 B
Plaintext
45 lines
888 B
Plaintext
# Health Check Configuration
|
|
# Configuration file for tunnel health monitoring
|
|
|
|
# Check interval (seconds)
|
|
CHECK_INTERVAL=60
|
|
|
|
# Timeout for connectivity checks (seconds)
|
|
CONNECTIVITY_TIMEOUT=10
|
|
|
|
# Number of retries before alerting
|
|
RETRY_COUNT=3
|
|
|
|
# Log file location
|
|
LOG_FILE=/var/log/cloudflared-monitor.log
|
|
|
|
# Alert configuration
|
|
ALERT_ENABLED=true
|
|
ALERT_EMAIL=
|
|
ALERT_WEBHOOK=
|
|
|
|
# Tunnels to monitor
|
|
TUNNELS=("ml110" "r630-01" "r630-02")
|
|
|
|
# Domain mappings
|
|
declare -A TUNNEL_DOMAINS=(
|
|
["ml110"]="ml110-01.d-bis.org"
|
|
["r630-01"]="r630-01.d-bis.org"
|
|
["r630-02"]="r630-02.d-bis.org"
|
|
)
|
|
|
|
# IP mappings
|
|
declare -A TUNNEL_IPS=(
|
|
["ml110"]="192.168.11.10"
|
|
["r630-01"]="192.168.11.11"
|
|
["r630-02"]="192.168.11.12"
|
|
)
|
|
|
|
# Service names
|
|
declare -A TUNNEL_SERVICES=(
|
|
["ml110"]="cloudflared-ml110"
|
|
["r630-01"]="cloudflared-r630-01"
|
|
["r630-02"]="cloudflared-r630-02"
|
|
)
|
|
|