Is there any tools or script example to do this :
if ping has zero reply from certain IP than run this script.
My objective is to shutdown remote ssh server (eg :ssh root@192.168.1.203 -pw=xxxx halt), when there is 0 ping reply from certain IP (eg:192.168.1.104)
kind of modified watchcat ( but i dont know to modify the shutdown command to sending remote command )
thanks.
Im on BB 14.07
(Last edited by uabuner on 12 Feb 2017, 03:48)
