release 1.7.1: host-agent fails when public pages down

This commit is contained in:
Hernâni Marques 2026-07-19 00:52:56 +02:00
parent 2471c85903
commit 65e7a7f04a
No known key found for this signature in database
5 changed files with 69 additions and 31 deletions

View file

@ -185,3 +185,10 @@ zypper in qrencode zbar
Without them, monitoring still runs; QR group WARNs and skips encode/decode.
Caddy `/var/www/monitoring-sites` is separate (you configured hernani write access).
## Exit codes (v1.7.1+)
Host-agent jobs default to **`STRICT_EXIT=1`**: non-zero exit if suite checks fail, `DEPLOY_WWW_ROOT` is not writable, or public monpages (FQDN) fail.
Set `STRICT_EXIT=0` only if you want timers to stay green while still logging errors (not recommended for production).