diff --git a/diagnose/70-grafana b/diagnose/70-grafana index f674512..9269cd7 100644 --- a/diagnose/70-grafana +++ b/diagnose/70-grafana @@ -1,6 +1,7 @@ #!/bin/bash -if [ $(CreoleGet activer_grafana) = "oui" ];then +if [[ $(CreoleGet activer_grafana) == "oui" ]] +then . /usr/lib/eole/diagnose.sh EchoGras "*** Accès au serveur grafana" diff --git a/diagnose/70-prometheus b/diagnose/70-prometheus index 3aed96b..ab472bf 100644 --- a/diagnose/70-prometheus +++ b/diagnose/70-prometheus @@ -1,6 +1,7 @@ #!/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"