check host {{monit_check_name}} with address {{host_name}}
    if failed url {{url}}
    {{#match_text?}}and content == "{{match_text}}" {{/match_text?}}
    for {{threshold}} cycles
        then alert
    {{#emails}}
    alert {{email}} with mail-format {
      subject: [WATCH DOG] $EVENT for {{site_name}}
      message: As of $DATE {{site_name}} is $EVENT:
               $DESCRIPTION
    }
    {{/emails}}

check host {{monit_check_name}} with address {{host_name}}
    if failed url {{url}}
    {{#match_text?}}and content == "{{match_text}}" {{/match_text?}}
    with timeout 30 seconds for {{threshold}} cycles
        then alert
    {{#emails}}
    alert {{email}} with mail-format {
      subject: [WATCH DOG] $EVENT for {{site_name}}
      message: As of $DATE {{site_name}} is $EVENT:
               $DESCRIPTION
    }
    {{/emails}}

Use a 30 second timeout
Use a 30 second timeout
