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 {
|
||||
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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user