From 598c1d180772fc08d67fedbc0bc1341072d38ed2 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Tue, 5 Jun 2018 14:27:32 +0200 Subject: [PATCH] Fix template --- tmpl/prometheus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmpl/prometheus.yml b/tmpl/prometheus.yml index e360435..59363ed 100644 --- a/tmpl/prometheus.yml +++ b/tmpl/prometheus.yml @@ -25,7 +25,7 @@ scrape_configs: # Nothing to configure %else static_configs: - - targets: [ "127.0.0.1:9100"%slurp + - targets: [ "%%adresse_ip_eth0:9100"%slurp %if %%getVar('ajout_client_prometheus','non') == 'oui' %for %%cliPr in %%getVar('prCli',[]) %if %%cliPr.prCliSonde == 'Node Exporter'