From f85493cf35f033e56e54294f05cc9ae9d8948ee5 Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Sun, 24 May 2026 16:56:32 -0400 Subject: [PATCH] watchdogs: fix Tailscale error propagation and docker watchdog output order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - network_watchdog: remove ISSUES++ for Tailscale — it's notify-only by design, no restart possible; cascading to system watchdog exit 1 was noise - docker_watchdog: move banner to top of cycle so body errors appear under the correct section header, not visually inside Resource Manager output --- Watchdogs/System/network_watchdog.sh | 1 - Watchdogs/docker_watchdog.sh | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Watchdogs/System/network_watchdog.sh b/Watchdogs/System/network_watchdog.sh index 3998127..393d2d7 100755 --- a/Watchdogs/System/network_watchdog.sh +++ b/Watchdogs/System/network_watchdog.sh @@ -258,7 +258,6 @@ if [[ "${NETWORK_WATCHDOG_CHECK_TAILSCALE:-true}" == "true" ]]; then log "$ICON_SUCCESS Tailscale running" else warn "$ICON_ERROR Tailscale not in Running state" - (( ISSUES++ )) notify "Tailscale not running on $(hostname) ($MY_ID) — manual check needed" \ "Network Watchdog" "warning" fi diff --git a/Watchdogs/docker_watchdog.sh b/Watchdogs/docker_watchdog.sh index a4a18c1..a5ecf7d 100755 --- a/Watchdogs/docker_watchdog.sh +++ b/Watchdogs/docker_watchdog.sh @@ -589,7 +589,7 @@ check_docker_daemon() { # ============================================================================================== # ━━━ Single-Pass Monitoring Run ━━━ # ============================================================================================== -log "$ICON_WATCHDOG Docker watchdog — $MY_ID — $(date '+%H:%M:%S')" +echo "━━━ $ICON_WATCHDOG Docker Watchdog — $(date '+%Y-%m-%d %H:%M:%S') ━━━" CYCLE_START=$(date +%s) @@ -932,8 +932,6 @@ CYCLE_START=$(date +%s) CYCLE_END=$(date +%s) if [[ "$TOTAL_RESTARTS" -gt 0 || "$TOTAL_WARNINGS" -gt 0 ]]; then - echo "" - echo "━━━ $ICON_WATCHDOG Docker Watchdog — $(date '+%Y-%m-%d %H:%M:%S') ━━━" echo "$ICON_WATCHDOG T1: $T1_RESTARTS restarts / $T1_WARNINGS warnings" echo "$ICON_WATCHDOG T2: $T2_RESTARTS restarts / $T2_WARNINGS warnings" echo "$ICON_TIME Duration: $(format_duration $(( CYCLE_END - CYCLE_START )))"