diff --git a/html/pages/device/health.inc.php b/html/pages/device/health.inc.php
index a4aa356732..c204c51e4d 100644
--- a/html/pages/device/health.inc.php
+++ b/html/pages/device/health.inc.php
@@ -71,12 +71,14 @@ if (is_file("pages/device/health/".mres($vars['metric']).".inc.php"))
{
include("pages/device/health/".mres($vars['metric']).".inc.php");
} else {
+
foreach ($datas as $type)
{
if ($type != "overview")
{
+
$graph_title = $type_text[$type];
- $graph_type = "device_".$type;
+ $graph_array['type'] = "device_".$type;
include("includes/print-device-graph.php");
}