From 08fc60226f224de87d665aa7c55b6eaa9f66d768 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 11 Nov 2016 20:54:12 +0100 Subject: status page --- www/status.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 www/status.php (limited to 'www/status.php') diff --git a/www/status.php b/www/status.php new file mode 100644 index 0000000..3bc52cf --- /dev/null +++ b/www/status.php @@ -0,0 +1,18 @@ +countDocuments(); + +$queue = new Queue(); +$gearStatus = $queue->getServerStatus(); + +render( + 'status', + array( + 'esDocs' => $esDocs, + 'gearStatus' => $gearStatus, + ) +); +?> -- cgit v1.2.3