Fix HTTP checks that redirect to TLS connections failing
This commit is contained in:
parent
ce77c104a6
commit
94f6d45d07
@ -119,7 +119,7 @@ define host {
|
|||||||
define service {
|
define service {
|
||||||
use ansible-generic-service
|
use ansible-generic-service
|
||||||
service_description HTTP - {{ service.value.name }}
|
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 }}
|
host_name {{ host_name }}
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -127,7 +127,7 @@ define service {
|
|||||||
define service {
|
define service {
|
||||||
use ansible-generic-service
|
use ansible-generic-service
|
||||||
service_description HTTPS - {{ service.value.name }}
|
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 }}
|
host_name {{ host_name }}
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user