docs: update watchdog headers — single-pass cron model, correct caller refs, stability vs system watchdog
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
#!/bin/bash
|
||||
# ==============================================================================================
|
||||
# ================================= System Watchdog ============================================
|
||||
# ================================= Stability Watchdog =========================================
|
||||
# ==============================================================================================
|
||||
#
|
||||
# PURPOSE
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Last line of defense — reboots the system cleanly if it is about to become
|
||||
# unstable. Runs continuously as a background process started by
|
||||
# array_started.sh at array start. Works alongside docker_watchdog.sh which
|
||||
# handles container-level healing first. Only escalates to reboot when
|
||||
# unstable. Called by watchdog_orchestrator.sh via cron every 15 minutes as a
|
||||
# single-pass run. Works alongside docker_watchdog.sh which handles
|
||||
# container-level healing first. Only escalates to reboot when
|
||||
# docker_watchdog.sh cannot resolve the condition.
|
||||
#
|
||||
# ==============================================================================================
|
||||
@@ -92,7 +92,7 @@
|
||||
# ==============================================================================================
|
||||
#
|
||||
# stability_watchdog.sh
|
||||
# Start continuous monitoring loop. Runs until stopped or system reboots.
|
||||
# Single-pass stability check — called by watchdog_orchestrator.sh every 15 min
|
||||
#
|
||||
# stability_watchdog.sh --dry-run
|
||||
# Run detection logic without rebooting or stopping containers.
|
||||
@@ -172,7 +172,7 @@ if [[ "$SHOW_STATUS" == true ]]; then
|
||||
echo "$ICON_GEAR Zombie limit: ${SYS_WATCHDOG_ZOMBIE_LIMIT}"
|
||||
echo "$ICON_GEAR CPU temp max: ${SYS_WATCHDOG_CPU_TEMP_MAX}°C"
|
||||
echo "$ICON_GEAR Strike limit: ${SYS_WATCHDOG_STRIKE_LIMIT} cycles"
|
||||
echo "$ICON_TIME Interval: 60s (cron — every minute)"
|
||||
echo "$ICON_TIME Schedule: every 15 min (cron via watchdog_orchestrator)"
|
||||
echo "$ICON_REBOOT_SMART Reboot limit: ${SYS_WATCHDOG_REBOOT_LIMIT} in ${SYS_WATCHDOG_REBOOT_WINDOW_HRS}hr"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user