EOX GitLab Instance

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

prometheus now separating postfix exporter targets

parent b93d631f
Branches
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@
with_items:
- 'lxc'
- 'bare_metal'
- 'postfix'
tags: target_yml
- name: prometheus started and enabled
......
......@@ -51,7 +51,7 @@ scrape_configs:
file_sd_configs:
- files:
- 'bare_metal.yml'
- job_name: lxc_postfix
- job_name: postfix
metrics_path: /postfix_metrics
scheme: https
tls_config:
......@@ -60,17 +60,7 @@ scrape_configs:
key_file: '/etc/ssl/prometheus_client/{{fqdn}}.key'
file_sd_configs:
- files:
- 'lxc.yml'
- job_name: bare_metal_postfix
metrics_path: /postfix_metrics
scheme: https
tls_config:
ca_file: '/etc/ssl/prometheus_client/root.ca.crt'
cert_file: '/etc/ssl/prometheus_client/{{fqdn}}.crt'
key_file: '/etc/ssl/prometheus_client/{{fqdn}}.key'
file_sd_configs:
- files:
- 'bare_metal.yml'
- 'postfix.yml'
{% if groups['lxc_host'] is defined %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment