From 9c0273099f8e0263b0a2accd5bf569ef42be0137 Mon Sep 17 00:00:00 2001 From: vincent Date: Thu, 17 May 2018 10:48:53 +0200 Subject: [PATCH] ajout du diagnose --- diagnose/70-prometheus | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 diagnose/70-prometheus diff --git a/diagnose/70-prometheus b/diagnose/70-prometheus new file mode 100644 index 0000000..adf20b6 --- /dev/null +++ b/diagnose/70-prometheus @@ -0,0 +1,11 @@ +#!/bin/bash + +if [ $(CreoleGet activer_prometheus = "oui" ];then + . /usr/lib/eole/diagnose.sh + + EchoGras "*** Accès au serveur Prometheus" + TestHHTPPage "Prometheus server" "http://localhost:9090" + echo +fi + +exit 0