diff --git a/html/pages/device/health.inc.php b/html/pages/device/health.inc.php index fb599dd52..bcfb9d99d 100644 --- a/html/pages/device/health.inc.php +++ b/html/pages/device/health.inc.php @@ -8,12 +8,12 @@ $cpm = mysql_result(mysql_query("select count(*) from cpmCPU WHERE device_id = $hrprocessor = mysql_result(mysql_query("select count(*) from hrDevice WHERE device_id = '" . $device['device_id'] . "' AND `hrDeviceType` = 'hrDeviceProcessor'"), 0); -if($temp) { $datas[] = 'temp'; } -if($storage) { $datas[] = 'storage'; } -if($cemp) { $datas[] = 'cemp'; } -if($cpm) { $datas[] = 'cpm'; } -if($cmp) { $datas[] = 'cmp'; } -if($hrprocessor) { $datas[] = 'hrprocessors'; } +if ($temp) { $datas[] = 'temp'; } +if ($storage) { $datas[] = 'storage'; } +if ($cemp) { $datas[] = 'cemp'; } +if ($cpm) { $datas[] = 'cpm'; } +if ($cmp) { $datas[] = 'cmp'; } +if ($hrprocessor) { $datas[] = 'hrprocessors'; } $type_text['temp'] = "Temperatures"; $type_text['cmp'] = "Memory Pools"; @@ -23,6 +23,7 @@ $type_text['storage'] = "Disk Usage"; $type_text['hrprocessors'] = "Processor Usage"; +/* echo("