Files
ergo-proxmox-scripts/conf/watchdog.conf.example
T
ergosteurandClaude Opus 5 23196eafed Move watchdog alert address into conf/
Both watchdogs hardcoded the notification address. Read it from
conf/watchdog.conf instead, matching the pattern used for the other
credentials, so the repo carries no real contact details.

If the config is absent the watchdogs still run and log; sendAlert notes the
missing address and skips the mail rather than invoking mail(1) with an empty
recipient.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 15:49:16 +00:00

12 lines
443 B
Plaintext

# Alert destination for vm-watchdog.sh and lxc-watchdog.sh.
#
# Copy to conf/watchdog.conf next to the scripts:
# cp conf/watchdog.conf.example conf/watchdog.conf
#
# The scripts look for it relative to their own location, so this works both in a
# checkout and deployed at /opt/ergosteur. Override with WATCHDOG_CONFIG.
#
# If the file is absent the watchdogs still run and log; they just skip the email.
WATCHDOG_EMAIL=alerts@example.com