Files
homelab-infra/services
Micha 2844b63b37 posture-check: endpoint-agnostic Healthchecks heartbeat ping
Wrap main() with a Healthchecks ping (start + success/fail). The capability
ping URL is read from $HEALTHCHECKS_POSTURE_URL or the host secret file
/mnt/user/appdata/secrets/healthchecks_posture_url (never in the repo, same
pattern as pre-borg.sh). Exit code preserved; warning/critical still count as
"ran" (posture alerts stay on ntfy), only a real abort (rc>2) pings /fail.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 20:49:30 +02:00
..