9 Configuring the Watchdog Service

Watchdog is an Oracle Linux service that runs in the background to monitor host availability and processes and reports back to the kernel. If the Watchdog service fails to notify the kernel that the system is healthy, the kernel typically automatically reboots the system.

To install the Watchdog package, run:

sudo dnf install watchdog

To configure the Watchdog service, edit the /etc/watchdog.conf file. The watchdog.conf file includes all Watchdog configuration properties. For information on how to edit this file, see the watchdog.conf(5) manual page.

To enable and start the Watchdog service, run:

sudo systemctl enable --now watchdog
The Watchdog service immediately starts and runs in the background.

Note:

The Watchdog service starts and runs immediately after a power reset.