結論
標題のとおりです。
ダメな例
check host "FOOBAR" with address 123.123.123.123 if failed url http://123.123.123.123/path/to/hogehoge.html timeout 10 seconds for 3 cycles then exec 'touch /tmp/failed.txt' else if succeeded then exec 'touch /tmp/succeeded.txt'
OKな例
check host "FOOBAR" with address 123.123.123.123 if failed url http://123.123.123.123/path/to/hogehoge.html timeout 10 seconds for 3 cycles then exec "touch /tmp/failed.txt" else if succeeded then exec "touch /tmp/succeeded.txt"
補足
スクリプトが発動しないで数時間ハマりました……。