diff --git a/diagnose/70-prometheus b/diagnose/70-prometheus index adf20b6..3aed96b 100644 --- a/diagnose/70-prometheus +++ b/diagnose/70-prometheus @@ -1,10 +1,10 @@ #!/bin/bash -if [ $(CreoleGet activer_prometheus = "oui" ];then +if [ $(CreoleGet activer_prometheus) = "oui" ];then . /usr/lib/eole/diagnose.sh - + EchoGras "*** Accès au serveur Prometheus" - TestHHTPPage "Prometheus server" "http://localhost:9090" + TestHTTPPage "Prometheus server" "http://localhost:9090" echo fi diff --git a/dicos/70_prometheus.xml b/dicos/70_prometheus.xml index 109d6d5..c8729ad 100644 --- a/dicos/70_prometheus.xml +++ b/dicos/70_prometheus.xml @@ -1,6 +1,7 @@ + prometheus prometheus