[plug] Watchdog to shutdown instead of reboot

Shanon Loughton autobot at iinet.net.au
Mon Mar 3 06:43:04 UTC 2014


Hi

Im sure there are manual ways of scripting + cron'ing etc but wondering if
I can do this with the watchdog program in Ubuntu?:

ping another IP address
if no response after x tries in y intervals in seconds then shutdown /
poweroff (dont reboot)

This /etc/watchdog.conf successfully reboots the machine

#
realtime = yes
IP = x.x.x.x
interval = y

cheers
Shanon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20140303/61b4bf52/attachment.html>


More information about the plug mailing list