Improving dico to be more Prometheus like
We need to be closer to the prometheus way to do things
This commit is contained in:
@ -47,9 +47,19 @@
|
||||
<variable name='job_file_config' type='string' description="Emplacement des fichiers de configuration des noeuds" auto_freeze='True' mode='expert' mandatory='True'>
|
||||
<value>/etc/prometheus/nodes</value>
|
||||
</variable>
|
||||
<variable name='addTargetPrometheus' type='oui/non' description="Ajouter des cibles statiques à Prometheus">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
||||
<!-- Job standard -->
|
||||
<variable name='prTarg' type='string' description='Nom de la cible prometheus' multi='True'/>
|
||||
<variable name='prTargIP' type='ip' description="Adresse IP de la cible prometheus"/>
|
||||
<variable name='prTargSonde' type='string' description="Sonde a utiliser pour ce client">
|
||||
<value>Node Exporter</value>
|
||||
</variable>
|
||||
</family>
|
||||
<family name='Jobs prometheus'>
|
||||
<variable name='promJobs' type='string' description="Nom du job prometheus"/>
|
||||
<variable name='promJobs' type='string' description="Nom du job prometheus" multi='True'/>
|
||||
<variable name='honorLabels' type='oui/non' description='Garder les labels en cas de conflit' mode='expert'>
|
||||
<value>oui</value>
|
||||
</variable>
|
||||
@ -63,19 +73,7 @@
|
||||
<value>http</value>
|
||||
</variable>
|
||||
|
||||
<variable name='addTargetPrometheus' type='oui/non' description="Ajouter des cibles statiques à Prometheus">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
||||
<!-- Job standard -->
|
||||
<variable name='prTarg' type='string' description='Nom de la cible prometheus' multi='True'/>
|
||||
<variable name='prTargJob' type='string' description='Nom du job de rattachement de la cible'/>
|
||||
<variable name='prTargIP' type='ip' description="Adresse IP de la cible prometheus"/>
|
||||
<variable name='prTargSonde' type='string' description="Sonde a utiliser pour ce client">
|
||||
<value>Node Exporter</value>
|
||||
</variable>
|
||||
|
||||
<variable name='addPrOpenTarg' type='oui/non' description="Ajouter un client personnalisé">
|
||||
<variable name='addPrOpenTarg' type='oui/non' description="Ajouter des cibles statiques pour les jobs personnalisé">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
<!-- Job libre -->
|
||||
@ -141,6 +139,7 @@
|
||||
<separators>
|
||||
<separator name='activer_grafana'>Services complèmentairse</separator>
|
||||
<separator name='prometheusJobName'>Configuration du serveur Prometheus</separator>
|
||||
<separator name='job_name_node'>Configuration des jobs standards</separator>
|
||||
<separator name='alSMTPHost'>Configuration SMTP pour l'envois des alertes</separator>
|
||||
<separator name='alReceiver'>Destinatires</separator>
|
||||
<separator name='alRoute'>Rêgles de distribution simples</separator>
|
||||
@ -155,6 +154,13 @@
|
||||
<slave>alReceiverEmail</slave>
|
||||
</group>
|
||||
|
||||
<group master='promJobs'>
|
||||
<slave>scrpInterval</slave>
|
||||
<slave>scrpTimeout</slave>
|
||||
<slave>honorLabels</slave>
|
||||
<slave>scrpScheme</slave>
|
||||
</group>
|
||||
|
||||
<group master='alRoute'>
|
||||
<slave>alRouteMatchSource</slave>
|
||||
<slave>alRouteMatchValue</slave>
|
||||
@ -175,7 +181,6 @@
|
||||
|
||||
<group master='prTarg'>
|
||||
<slave>prTargIP</slave>
|
||||
<slave>prTargJob</slave>
|
||||
<slave>prTargSonde</slave>
|
||||
</group>
|
||||
|
||||
@ -186,7 +191,7 @@
|
||||
</group>
|
||||
|
||||
<check name='valid_enum' target='prTargSonde'>
|
||||
<param>['Node Exporter','Port']</param>
|
||||
<param>['Node Exporter']</param>
|
||||
</check>
|
||||
|
||||
<check name='valid_enum' target='scrpScheme'>
|
||||
|
Reference in New Issue
Block a user