e694cc0a25
This patch adds support for watchdogd, a watchdog daemon with built-in process supervisor[1] as well as support for monitoring memory & file descriptor leaks, and CPU load average. When a monitored resource reaches a high watermark, a warning message is logged and when critical level is reached, the cause is saved and the system is rebooted. On reboot the reset cause can be retrieved to help locate the culprit. Support for SysV init script in this patch, and systemd unit file is installed from the one bundled with the package. Both files supoort additional command line options in /etc/default/watchdogd. The Config.in is slightly big, but allows for disabling or adjusting the poll interval for each resource monitor. For more information, see https://github.com/troglobit/watchdogd [1]: processes must have their main loop instrumented for supervision. Signed-off-by: Joachim Wiberg <troglobit@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> |
||
---|---|---|
.. | ||
Config.in | ||
S01watchdogd | ||
watchdogd.hash | ||
watchdogd.mk |