From 6751e46ee2343964b7208d426d67409ac1522157 Mon Sep 17 00:00:00 2001 From: vince Date: Sun, 16 Jan 2022 13:59:24 +0100 Subject: [PATCH] =?UTF-8?q?ajounte=20un=20peu=20de=20d=C3=A9tails?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 5 ++++- index.php | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 index.php diff --git a/Makefile b/Makefile index 268e206..179c932 100644 --- a/Makefile +++ b/Makefile @@ -165,4 +165,7 @@ $(BUILD_DIR)/disk-daily$(EXTENSION): disk.rrd AREA:MBfsused#$(DANGER):MBfsused:STACK \ AREA:MBfsfree#$(SUCCESS):MBfsfree:STACK -graph: $(BUILD_DIR)/cpu-daily$(EXTENSION) $(BUILD_DIR)/load-daily$(EXTENSION) $(BUILD_DIR)/mem-daily$(EXTENSION) $(BUILD_DIR)/net-daily$(EXTENSION) $(BUILD_DIR)/disk-daily$(EXTENSION) +$(BUILD_DIR)/%.html: %.php + php $< >$@ + +graph: $(BUILD_DIR)/cpu-daily$(EXTENSION) $(BUILD_DIR)/load-daily$(EXTENSION) $(BUILD_DIR)/mem-daily$(EXTENSION) $(BUILD_DIR)/net-daily$(EXTENSION) $(BUILD_DIR)/disk-daily$(EXTENSION) $(BUILD_DIR)/index.html diff --git a/index.php b/index.php new file mode 100644 index 0000000..aec767b --- /dev/null +++ b/index.php @@ -0,0 +1,57 @@ + + + + + + Monitoring + + +

+ Monitoring + format($now); ?> +

+ +

Processeur

+
+ Détails +
+
+

+ +

+

+ +

+ + +

Mémoire

+
+ Détails +
+

+ +

+ +

Réseau

+
+ Détails +
+

+ +

+ +

Disque

+
+ Détails +
/dev/null', $output); echo implode(PHP_EOL, $output); ?>
+

+ +

+ + +