Choose health checks that represent real-world business scenarios, such as local gateway, upstream IP, and HTTPS separately. A single failure might originate from the target itself. Configure consecutive failure thresholds, interval spacing, and retry logging. Then, recover incrementally—from re-establishing a single interface to full system restart.
Consider how a terminal recovers its operation
Schedule a business-acceptable window for restarts, limiting triggers to once per hour. Lock scripts and set command timeouts. Before restart, save brief on-site information. Use procd to manage service abnormal exits, preventing unintended interaction with network self-healing.
Test reconnection order with a known faulty device
The uplink is briefly disabled on the backup network; record probe, reauthentication, and alarm events. Confirm that other WAN processes operate normally and can distinguish single-point unavailability.
Shutdown an external probing target, disconnect actual WAN, stop critical processes. Check which condition triggers each level of action. After recovery, business operations return to normal. Keep the management port active and disable scripts.
Try bounded reconnection with local management. A clear threshold must be defined for restart conditions, and post-recovery validation must confirm actual business availability.
Test the probe target before using it in a watchdog.

Comments