From c2c33e603aaa931ef9551dc78661bcc64b9f7b02 Mon Sep 17 00:00:00 2001 From: Mike Rostermund Date: Wed, 10 Jun 2015 00:47:26 +0200 Subject: [PATCH 1/3] Add Load graphs to devices page --- html/pages/devices.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/pages/devices.inc.php b/html/pages/devices.inc.php index 488ed0ba61..20ffde75d4 100644 --- a/html/pages/devices.inc.php +++ b/html/pages/devices.inc.php @@ -39,6 +39,7 @@ foreach ($menu_options as $option => $text) $menu_options = array('bits' => 'Bits', 'processor' => 'CPU', + 'ucd_load' => 'Load', 'mempool' => 'Memory', 'uptime' => 'Uptime', 'storage' => 'Storage', @@ -89,7 +90,7 @@ print_optionbar_end(); Date: Wed, 10 Jun 2015 08:02:22 +0200 Subject: [PATCH 2/3] Add poller time graphs to /devices/ --- html/pages/devices.inc.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/html/pages/devices.inc.php b/html/pages/devices.inc.php index 20ffde75d4..bb3d122066 100644 --- a/html/pages/devices.inc.php +++ b/html/pages/devices.inc.php @@ -37,13 +37,14 @@ foreach ($menu_options as $option => $text) 'Bits', - 'processor' => 'CPU', - 'ucd_load' => 'Load', - 'mempool' => 'Memory', - 'uptime' => 'Uptime', - 'storage' => 'Storage', - 'diskio' => 'Disk I/O' +$menu_options = array('bits' => 'Bits', + 'processor' => 'CPU', + 'ucd_load' => 'Load', + 'mempool' => 'Memory', + 'uptime' => 'Uptime', + 'storage' => 'Storage', + 'diskio' => 'Disk I/O', + 'poller_perf' => 'Poller' ); $sep = ""; foreach ($menu_options as $option => $text) From 5f36149f8af0c47bb5bbfb98a9ab7de6f1972ff8 Mon Sep 17 00:00:00 2001 From: Mike Rostermund Date: Wed, 10 Jun 2015 08:11:11 +0200 Subject: [PATCH 3/3] Add ping to /devices/ graphs --- html/pages/devices.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/pages/devices.inc.php b/html/pages/devices.inc.php index bb3d122066..17e5f814a9 100644 --- a/html/pages/devices.inc.php +++ b/html/pages/devices.inc.php @@ -44,7 +44,8 @@ $menu_options = array('bits' => 'Bits', 'uptime' => 'Uptime', 'storage' => 'Storage', 'diskio' => 'Disk I/O', - 'poller_perf' => 'Poller' + 'poller_perf' => 'Poller', + 'ping_perf' => 'Ping' ); $sep = ""; foreach ($menu_options as $option => $text)