Fix HTTP checks that redirect to TLS connections failing

This commit is contained in:
Salt 2021-08-15 02:43:59 -05:00
parent ce77c104a6
commit 94f6d45d07

View File

@ -119,7 +119,7 @@ define host {
define service {
use ansible-generic-service
service_description HTTP - {{ service.value.name }}
check_command check_http!-H {{ service.value.name }} -f stickyport
check_command check_http!-H {{ service.value.name }} -f sticky
host_name {{ host_name }}
}
{% endif %}
@ -127,7 +127,7 @@ define service {
define service {
use ansible-generic-service
service_description HTTPS - {{ service.value.name }}
check_command check_http!--ssl -H {{ service.value.name }} -f stickyport
check_command check_http!--ssl -H {{ service.value.name }} -f sticky
host_name {{ host_name }}
}
{% endif %}