Improve status probe diagnostics

This commit is contained in:
juvdiaz 2026-06-29 13:47:04 -06:00
parent 6241a14bac
commit 806475afc0
1 changed files with 2 additions and 1 deletions

View File

@ -1487,6 +1487,7 @@ check_pihole_dns_query() {
if command -v dig >/dev/null 2>&1; then
output="$(dig @"${rpi_host}" "${query_name}" A +time=3 +tries=1 +short 2>&1)" || {
printf '%s\n' "${output}" >&2
echo "Pi-hole DNS query to ${rpi_host}:53 failed; check RPi firewall and that the Pi-hole container publishes 53/udp on the LAN address." >&2
return 1
}
if [[ -z "${output}" ]]; then
@ -4662,7 +4663,7 @@ status_gitea_public_repo_ok() {
local repo_owner="${LAB_GITEA_REPO_OWNER:-jv}"
local repo_name="${LAB_GITEA_REPO_NAME:-my-homelab-configs}"
status_http_ok "${root_url%/}/${repo_owner}/${repo_name}"
status_http_ok "${root_url%/}/${repo_owner}/${repo_name}/"
}
status_cascade_check() {