Removing NodeExporter management, this moves to eole-node-exporter

This commit is contained in:
Philippe Caseiro 2018-06-01 11:27:07 +02:00
parent d1552ab901
commit 5d9cd97de0
2 changed files with 3 additions and 4 deletions

View File

@ -9,7 +9,6 @@
<port service_accesslist="saLemon">80</port>
<port service_accesslist="saLemon">443</port>
<port service_accesslist="prometheus">9090</port>
<port service_accesslist="prometheus">9100</port>
</service_access>
<service_access service='grafana-server'>
<port service_accesslist="grafana">3000</port>
@ -40,9 +39,7 @@
<variable name='ajout_client_prometheus' type='oui/non' description="Ajouter un nouveau client à Prometheus">
<value>non</value>
</variable>
<variable name='nouveau_node_exporter' type='string' description="url/IP du nouveau node exporter" multi="True" mandatory='True'>
<value>client.prometheus.lan</value>
</variable>
<variable name='nouveau_node_exporter' type='string' description="url/IP du nouveau node exporter" multi="True" mandatory='True'/>
<variable name='job_name_node' type='string' description="Nom du job pour les noeuds" mode='expert'>
<value>node</value>
</variable>

View File

@ -13,7 +13,9 @@ scrape_configs:
static_configs:
- targets: ['%%nom_domaine_machine:9090']
%if %%getVar('activerSndNodeExpoter','non') == 'oui'
- targets: ['%%nom_domaine_machine:9100']
%end if
- job_name: '%%job_name_node'
file_sd_configs: