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'