**Motivations:** - Alert when the LPLDF storefront HTTPS endpoint is down from the proxy **Root causes:** - N/A (monitoring gap) **Correctifs:** - N/A **Evolutions:** - watch-https-lpldf.sh: curl check, state file, syslog tag lpldf-https-watch, optional webhook/email via env file - systemd oneshot + 5-minute timer; install script via SSH/scp **Pages affectées:** - tools/proxy-https-watch-lpldf.sh - tools/proxy-https-watch-lpldf.env.example - deploy/proxy-units/lpldf-https-watch.service - deploy/proxy-units/lpldf-https-watch.timer - deploy/scripts/install-lpldf-https-watch-on-proxy.sh - deploy/README-lpldf-https-watch.md
12 lines
623 B
Plaintext
12 lines
623 B
Plaintext
# Copy to /opt/proxy-config/scripts/env/watch-https-lpldf.env on the proxy (chmod 600).
|
|
# Optional: webhook for down alerts (plain text POST body).
|
|
# ALERT_WEBHOOK_URL=https://example.com/hook
|
|
# Optional: separate webhook when the site recovers.
|
|
# ALERT_WEBHOOK_URL_RECOVER=https://example.com/hook-recover
|
|
# Optional: repeat down notifications at most every N seconds while still failing.
|
|
# ALERT_REPEAT_SECONDS=3600
|
|
# Optional: if `mail` is configured on the host.
|
|
# ALERT_EMAIL_TO=ops@example.com
|
|
# Override URL if needed (default is punycode LPLDF front URL).
|
|
# WATCH_URL=https://xn--lespetitesleonsdefrdric-89b1db.fr/
|