eole-prometheus/diagnose/70-prometheus

13 lines
230 B
Plaintext
Raw Normal View History

2018-05-17 10:48:53 +02:00
#!/bin/bash
2018-06-11 09:35:28 +02:00
if [[ $(CreoleGet activer_prometheus) == "oui" ]]
then
2018-05-17 10:48:53 +02:00
. /usr/lib/eole/diagnose.sh
2018-05-25 17:24:14 +02:00
2018-05-17 10:48:53 +02:00
EchoGras "*** Accès au serveur Prometheus"
2018-05-25 17:24:14 +02:00
TestHTTPPage "Prometheus server" "http://localhost:9090"
2018-05-17 10:48:53 +02:00
echo
fi
exit 0