You need to check the availability of the host, while if it is not available once to perform the script, and then execute the script when it is available again.
Current configuration:check host localhost with address 127.0.0.1
port 80 protocol http
for 1 times within 1 cycles
then exec "/var/www/alert.sh"
asked September 15th 19 at 14:39