Merge branch 'master' into dist/eole/2.6.2/master
This commit is contained in:
commit
4c6d88bae2
|
@ -7,18 +7,23 @@
|
|||
<port service_accesslist="saLemon">80</port>
|
||||
<port service_accesslist="saLemon">443</port>
|
||||
<port>9090</port>
|
||||
<port>9100</port>
|
||||
</service_access>
|
||||
</files>
|
||||
<variables>
|
||||
<family name='prometheus'>
|
||||
<family name='services'>
|
||||
<variable name='activer_prometheus' type='oui/non' description="Activer le service prometheus sur le serveur">
|
||||
<variable name='prometheusJobName' type='string' description='Nom du job ajouté au label'>
|
||||
<value>oui</value>
|
||||
</variable>
|
||||
</family>
|
||||
<family name='prometheus'>
|
||||
<variable name='prometheusJobName' type='string' description="Nom du job ajouté au label">
|
||||
<value>prometheus</value>
|
||||
</variable>
|
||||
<variable name='prometheusScrapeInterval' type='string' description='Intervalle de récupération des données sur les différents noeuds'>
|
||||
<variable name='prometheusScrapeInterval' type='string' description="Intervalle de récupération des données sur les différents noeuds">
|
||||
<value>15s</value>
|
||||
</variable>
|
||||
<variable name='prometheusEvaluationInterval' type='string' description='Intervalle entre deux évaluations de règles'>
|
||||
<variable name='prometheusEvaluationInterval' type='string' description="Intervalle entre deux évaluations de règles">
|
||||
<value>30s</value>
|
||||
</variable>
|
||||
<variable name='prometheusScrapeTimeout' type='string' description="Temps d'attente avant que la récupération de données échoue">
|
||||
|
|
|
@ -6,7 +6,7 @@ After=network-online.target
|
|||
[Service]
|
||||
User=root
|
||||
Restart=on-failure
|
||||
ExecStart=/usr/local/bin/prometheus/prometheus --config.file=/etc/prometheus/prometheus.yml
|
||||
ExecStart=/usr/bin/prometheus --config.file=/etc/prometheus/prometheus.yml
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in New Issue