Let me interject in this bizarre thread.
The Linux watchdog program is designed to run extremely reliably. It interacts with a hardware watchdog device that runs even more reliably.
In other words, it does not fail. Either you’re configuring it wrong, or you’re expecting too much of it.
The built in ping test in watchdog.conf is implacable. Every 10 secs or so a host must reply to a ping, or after a couple of missed responses the host will reboot.
In other words, the remote host and the network are supposed to be perfectly reliable, so much so that a few failed pings can only mean the local host is failing and must be rebooted.
Unless the host’s network environment is perfectly stable, you’ll need extra configuration and possibly an external test script to avoid false positives and spurious reboots.
https://manpages.debian.org/bookworm/wa ... .5.en.html
In order to tune the configuration without constant reboots, starting the watchdog program with options “-v -q” should help
https://manpages.debian.org/bookworm/wa ... .8.en.html
If you don’t intend to spend some time learning how watchdog works, or if the networking environment isn’t particularly reliable, using a simple ping script will bring “good enough” results faster.
The Linux watchdog program is designed to run extremely reliably. It interacts with a hardware watchdog device that runs even more reliably.
In other words, it does not fail. Either you’re configuring it wrong, or you’re expecting too much of it.
The built in ping test in watchdog.conf is implacable. Every 10 secs or so a host must reply to a ping, or after a couple of missed responses the host will reboot.
In other words, the remote host and the network are supposed to be perfectly reliable, so much so that a few failed pings can only mean the local host is failing and must be rebooted.
Unless the host’s network environment is perfectly stable, you’ll need extra configuration and possibly an external test script to avoid false positives and spurious reboots.
https://manpages.debian.org/bookworm/wa ... .5.en.html
In order to tune the configuration without constant reboots, starting the watchdog program with options “-v -q” should help
https://manpages.debian.org/bookworm/wa ... .8.en.html
If you don’t intend to spend some time learning how watchdog works, or if the networking environment isn’t particularly reliable, using a simple ping script will bring “good enough” results faster.
Statistics: Posted by epoch1970 — Sun Feb 11, 2024 1:05 pm