Commit 1bbec90e authored by Jürgen Haas's avatar Jürgen Haas

customer/bitegra/mobimo/support#2616 Add support for request headers on monitoring http sites

parent fe5b0a5b
Pipeline #12963 passed with stage
in 56 seconds
......@@ -32,6 +32,12 @@
{% endif %}
check.request:
method: GET
{% if site.header is defined %}
headers:
{% for key in site.header %}
{{ key }}: {{ site.header[key] }}
{% endfor %}
{% endif %}
check.response.status: 200
check.response.body: '{{ site.regex }}'
schedule: '@every 90s'
......@@ -56,6 +62,12 @@
{% endif %}
check.request:
method: GET
{% if site.header is defined %}
headers:
{% for key in site.header %}
{{ key }}: {{ site.header[key] }}
{% endfor %}
{% endif %}
check.response.status: 200
{% if site.uptime.pollerParams|default(false) and site.uptime.pollerParams.body|default(false) %}
check.response.body: '{{ site.uptime.pollerParams.body }}'
......@@ -82,6 +94,12 @@
{% endif %}
check.request:
method: GET
{% if site.header is defined %}
headers:
{% for key in site.header %}
{{ key }}: {{ site.header[key] }}
{% endfor %}
{% endif %}
check.response.status: 200
{% if site.uptime.pollerParams|default(false) and site.uptime.pollerParams.body|default(false) %}
check.response.body: '{{ site.uptime.pollerParams.body }}'
......
Subproject commit 544abf3241db7a43e3170014f362533bb55a1589
Subproject commit d9de8eab54e8a711a8fb3851399189fe24c377a4
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment