Server Watchdog

This is a followup to this post. It seems there’s a more graceful option to reboot the server when there are problems.

These instructions are for debian

1. Add the following lines to /etc/sysctl.conf

2. server:~# apt-get install watchdog

3. In /etc/watchdog.conf, uncomment the following:

[ You may want to play with some of the other settings, most
notibly ping. I didnt have luck with it, however. My server
constantly rebooted ]

4. server:~# /sbin/modprobe softdog

5. add the following to /etc/modules

6. Reboot