define command {
  command_name check_mapit
  <%- if scope.lookupvar('::aws_migration') %>
  command_line /usr/lib/nagios/plugins/check_http -H mapit.<%= @app_domain_internal %> -u /postcode/W54XA -w1 -c2 -s 'E14000676' --ssl
  <%- else %>
  command_line /usr/lib/nagios/plugins/check_http -H mapit.<%= @app_domain %> -u /postcode/W54XA -w1 -c2 -s 'E14000676' --ssl
  <%- end %>

}


define command {
  command_name check_mapit
  <%- if scope.lookupvar('::aws_migration') %>
  command_line /usr/lib/nagios/plugins/check_http -H mapit.<%= @app_domain_internal %> -u /postcode/W54XA?nocache=true -w1 -c2 -s 'E14000676' --ssl
  <%- else %>
  command_line /usr/lib/nagios/plugins/check_http -H mapit.<%= @app_domain %> -u /postcode/W54XA?nocache=true -w1 -c2 -s 'E14000676' --ssl
  <%- end %>

}


Add noncache query param for Mapit healthcheck
Add noncache query param for Mapit healthcheck

This makes sure the healthcheck is checking the underlying application
rather than the cache.
