EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit e503aed8 authored by Karl Grube's avatar Karl Grube
Browse files

prometheus update

parent db7605ad
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ scrape_configs:
replacement: {{exporter}}:9100
{% endif %}
{% if blackbox_monitoring.http_custom is defined %}
{% for custom in blackbox_monitoring.http_custom %}
{% for custom in blackbox_monitoring.http_custom %}
- job_name: {{exporter}}_{{ custom.name }}_http_custom
scheme: https
tls_config:
......@@ -152,12 +152,12 @@ scrape_configs:
key_file: '/etc/ssl/prometheus_client/{{fqdn}}.key'
metrics_path: /probe
params:
module: [{{ custom.name }}]
module: [{{ custom.name }}_http_custom]
static_configs:
- targets:
{% for target in custom.targets %}
{% for target in custom.targets %}
- {{ target }}
{% endfor %}
{% endfor %}
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
......@@ -165,7 +165,7 @@ scrape_configs:
target_label: instance
- target_label: __address__
replacement: {{exporter}}:9100
{% endfor %}
{% endfor %}
{% endif %}
{% if blackbox_monitoring.tls is defined %}
- job_name: {{exporter}}_tls
......@@ -244,4 +244,4 @@ scrape_configs:
{% endfor %}
{% endif %}
\ No newline at end of file
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment