From 03d07f978b0762136de047edd40a34fca4586d44 Mon Sep 17 00:00:00 2001 From: Florian Beer Date: Sat, 18 Feb 2017 06:23:55 +0100 Subject: [PATCH] Add php-fpm graphs to application overview (#5912) (#5937) * Add php-fpm graphs to application overview (#5912) * Rename graph to php-fpm_stats --- .../application/{php-fpm.inc.php => php-fpm_stats.inc.php} | 0 html/pages/apps.inc.php | 4 ++++ html/pages/device/apps/php-fpm.inc.php | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) rename html/includes/graphs/application/{php-fpm.inc.php => php-fpm_stats.inc.php} (100%) diff --git a/html/includes/graphs/application/php-fpm.inc.php b/html/includes/graphs/application/php-fpm_stats.inc.php similarity index 100% rename from html/includes/graphs/application/php-fpm.inc.php rename to html/includes/graphs/application/php-fpm_stats.inc.php diff --git a/html/pages/apps.inc.php b/html/pages/apps.inc.php index 2c33e08284..0e12bac8ab 100644 --- a/html/pages/apps.inc.php +++ b/html/pages/apps.inc.php @@ -132,6 +132,10 @@ $graphs['exim-stats'] = array( 'queue' ); +$graphs['php-fpm'] = array( + 'stats' +); + print_optionbar_start(); echo "Apps » "; diff --git a/html/pages/device/apps/php-fpm.inc.php b/html/pages/device/apps/php-fpm.inc.php index af8dd07033..7ce017458c 100644 --- a/html/pages/device/apps/php-fpm.inc.php +++ b/html/pages/device/apps/php-fpm.inc.php @@ -3,7 +3,7 @@ global $config; $graphs = array( - 'php-fpm' => 'PHP-FPM', + 'php-fpm_stats' => 'PHP-FPM', );