watchdogs: add echo banners to network/storage/stability

All watchdog scripts now open with a consistent echo banner:
  ━━━ <icon> <Name> Watchdog — <timestamp> ━━━

Previously network and storage used a quiet log() line (no separator),
and stability_watchdog used warn() which made every run show ⚠️.

Also: network_watchdog now logs "Network healthy " on clean exit,
and stability_watchdog's reboot-trigger block now says "Stability"
instead of the old "System Watchdog" label.
This commit is contained in:
Gmer4Lfe
2026-05-24 17:20:55 -04:00
parent b78fdddb04
commit afd9129869
3 changed files with 11 additions and 8 deletions
+2 -3
View File
@@ -454,8 +454,7 @@ do_reboot() {
# ==============================================================================================
# ━━━ Single-Pass Health Check ━━━
# ==============================================================================================
warn "System watchdog — $MY_ID$(date '+%H:%M:%S')"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo "━━━ $ICON_REBOOT Stability Watchdog$(date '+%Y-%m-%d %H:%M:%S') ━━━"
TRIGGERS=()
CRITICAL_TRIGGERS=()
@@ -789,7 +788,7 @@ echo "━━━━━━━━━━━━━━━━━━━━━━━━
# ==========================================================================================
if [[ ${#TRIGGERS[@]} -gt 0 ]]; then
echo ""
echo "━━━ $ICON_REBOOT_SMART System Watchdog — $(date '+%Y-%m-%d %H:%M:%S') ━━━"
echo "━━━ $ICON_REBOOT_SMART Stability Watchdog — $(date '+%Y-%m-%d %H:%M:%S') ━━━"
for t in "${TRIGGERS[@]}"; do
echo " $ICON_REBOOT_SMART $t"
done