Hello,
To reboot the device when pings to a specific host fail, you can use the ping reboot functionality available in Services -> Auto Reboot -> Ping/Wget Reboot. You can edit the existing rule or create a new one and configure it to ping a device in LAN, and in case of failure, reboot the device. You can find more information about ping reboot functionality on our wiki page here.
Kind Regards,
Andzej