Don't follow redirect sites in checks
diff --git a/apache/meta/sensu.yml b/apache/meta/sensu.yml
index 17cf4b0..d569573 100644
--- a/apache/meta/sensu.yml
+++ b/apache/meta/sensu.yml
@@ -16,7 +16,7 @@
{%- if site.enabled %}
{%- if site.get('check', True) %}
remote_apache_server_http_{{ site.host.name }}_{{ site.host.get('port', '80') }}:
- command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_http -H {{ site.host.name }} -p {% if site.host.port is defined %}{{ site.host.port }}{% else %}{% if site.ssl is defined %}443{% else %}80{% endif %}{% endif %} -w 5 -c 10 -f follow{% if site.get('ssl', {}).get('enabled', False) %} -S{% endif %}{% if site.auth is defined %} -e 'HTTP/1.1 401 Unauthorized'{% endif %}"
+ command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_http -H {{ site.host.name }} -p {% if site.host.port is defined %}{{ site.host.port }}{% else %}{% if site.ssl is defined %}443{% else %}80{% endif %}{% endif %} -w 5 -c 10{% if site.type != 'redirect' %} -f follow{% endif %}{% if site.get('ssl', {}).get('enabled', False) %} -S{% endif %}{% if site.auth is defined %} -e 'HTTP/1.1 401 Unauthorized'{% endif %}"
interval: 60
occurrences: 2
subscribers: