mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix device/health
git-svn-id: http://www.observium.org/svn/observer/trunk@3092 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -71,12 +71,14 @@ if (is_file("pages/device/health/".mres($vars['metric']).".inc.php"))
|
|||||||
{
|
{
|
||||||
include("pages/device/health/".mres($vars['metric']).".inc.php");
|
include("pages/device/health/".mres($vars['metric']).".inc.php");
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
foreach ($datas as $type)
|
foreach ($datas as $type)
|
||||||
{
|
{
|
||||||
if ($type != "overview")
|
if ($type != "overview")
|
||||||
{
|
{
|
||||||
|
|
||||||
$graph_title = $type_text[$type];
|
$graph_title = $type_text[$type];
|
||||||
$graph_type = "device_".$type;
|
$graph_array['type'] = "device_".$type;
|
||||||
|
|
||||||
include("includes/print-device-graph.php");
|
include("includes/print-device-graph.php");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user