From 4536bd24fb90a7180c6bd7a2a19d1e36718faa67 Mon Sep 17 00:00:00 2001 From: Mike Rostermund Date: Thu, 11 Jun 2015 20:52:12 +0200 Subject: [PATCH] Added health->load page and added it to the list of tabs on /health/ --- html/pages/health.inc.php | 2 ++ html/pages/health/load.inc.php | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 html/pages/health/load.inc.php diff --git a/html/pages/health.inc.php b/html/pages/health.inc.php index 6d4427fb37..3b06d4db6b 100644 --- a/html/pages/health.inc.php +++ b/html/pages/health.inc.php @@ -10,6 +10,7 @@ if ($used_sensors['frequency']) $datas[] = 'frequency'; if ($used_sensors['current']) $datas[] = 'current'; if ($used_sensors['power']) $datas[] = 'power'; if ($used_sensors['dbm']) $datas[] = 'dbm'; +if ($used_sensors['load']) $datas[] = 'load'; // FIXME generalize -> static-config ? $type_text['overview'] = "Overview"; @@ -27,6 +28,7 @@ $type_text['current'] = "Current"; $type_text['power'] = "Power"; $type_text['toner'] = "Toner"; $type_text['dbm'] = "dBm"; +$type_text['load'] = "Load"; if (!$vars['metric']) { $vars['metric'] = "processor"; } if (!$vars['view']) { $vars['view'] = "detail"; } diff --git a/html/pages/health/load.inc.php b/html/pages/health/load.inc.php new file mode 100644 index 0000000000..d9257519d3 --- /dev/null +++ b/html/pages/health/load.inc.php @@ -0,0 +1,9 @@ +