From 38883c4fcac0245e4420e0d3440634bc131a9243 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Mon, 4 Jun 2018 10:36:34 +0200 Subject: [PATCH] Try 004 --- tmpl/prometheus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmpl/prometheus.yml b/tmpl/prometheus.yml index 7df2f07..e7607f8 100644 --- a/tmpl/prometheus.yml +++ b/tmpl/prometheus.yml @@ -23,8 +23,8 @@ scrape_configs: static_configs: %if %%getVar('ajout_client_prometheus','non') == 'oui' %for %%cliPr in %%getVar('prCli',[]) - %if %%cliPr.CliSonde == 'Node Exporter' - - targets: ['%%client_prometheus:9100'] + %if %%cliPr.prCliSonde == 'Node Exporter' + - targets: ['%%cliPr.prCliIP:9100'] %end if %end for %end if