Commit 8650c589 authored by ale's avatar ale

Re-add a base HTTP probe to verify that NGINX is up

The probe attempts an unverified SSL connection, so it should work
even before ACME gets real certificates.
parent 8b54400a
Pipeline #6202 failed with stage
in 2 minutes and 37 seconds
......@@ -18,6 +18,20 @@ modules:
key_file: /etc/credentials/x509/prometheus/client/private_key.pem
insecure_skip_verify: false
# Base HTTPS probe that will not verify certificates, used
# only to check that NGINX is up and running.
http_base:
prober: http
timeout: 5s
http:
valid_status_codes: [200]
method: GET
fail_if_ssl: false
fail_if_not_ssl: true
preferred_ip_protocol: ip4
tls_config:
insecure_skip_verify: true
{% for custom_probe in prometheus_custom_blackbox_probes.get('http', []) %}
http_{{ custom_probe.name }}:
prober: http
......
......@@ -129,7 +129,7 @@ scrape_configs:
metrics_path: "/probe"
params:
module:
- http_public
- http_base
relabel_configs:
- source_labels: [__address__]
target_label: target
......@@ -150,7 +150,7 @@ scrape_configs:
{% endfor %}
labels:
zone: public
probe: https
probe: https_up
{% for custom_probe in prometheus_custom_blackbox_probes.get('http', []) %}
- job_name: "prober_https_{{ custom_probe.name }}_{{ prober_idx }}"
......
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