anchor.diff:    logger -p ${1} -t ${PROGRAM_NAME} "${2}"
   }
   
  +function nagios_passive() {
  +  log "user.info" "$NAGIOS_MESSAGE Exit code was $?"
  +  printf "<%= @ipaddress %>\t<%= @sync_service_desc %>\t${NAGIOS_CODE}\t${NAGIOS_MESSAGE}\n" | /usr/sbin/send_nsca -H alert.cluster >/dev/null
  +}
   trap nagios_passive EXIT
   
   if [ -z "${TARGETS}" ]; then
  
positive.code: 
  log "user.info" "Finished synchronising to GOV.UK mirrors"
  
  NAGIOS_CODE=0
  NAGIOS_MESSAGE="OK: GOV.UK mirror synchronised successfully"
  
negative.code: if [ -z "${GOVUK_APP_DOMAIN}" ]; then
    log "user.info" "Couldn't find GOVUK_APP_DOMAIN"
  fi
  
  function get_error_page() {
    # Grab the 503 error page
  