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); ?>
+

+ +

+ + +