mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
cleanups + more mge ups
git-svn-id: http://www.observium.org/svn/observer/trunk@1094 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
@@ -8,10 +8,6 @@ while ($device = mysql_fetch_array($device_query))
|
||||
|
||||
echo('<div style="clear: both;">');
|
||||
|
||||
if (is_file($config['install_dir'] . "/html/pages/device/graphs/os-$os.inc.php")) {
|
||||
include($config['install_dir'] . "/html/pages/device/graphs/os-$os.inc.php");
|
||||
}
|
||||
|
||||
if ($os_groups[$device['os']]) { $os_group = $os_groups[$device['os']]; }
|
||||
|
||||
if (is_file($config['install_dir'] . "/html/pages/device/graphs/os-".$device['os'].".inc.php")) {
|
||||
@@ -24,48 +20,6 @@ while ($device = mysql_fetch_array($device_query))
|
||||
echo("No graph definitions found for OS " . $device['os'] . "!");
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
if ($memgraph) {
|
||||
echo("<img src=\"$memgraph\"> <img src=\"$memgraphm\">");
|
||||
}
|
||||
if ($storagegraph) {
|
||||
echo("$storagegraph");
|
||||
}
|
||||
if ($loadgraph) {
|
||||
echo("<img src=\"$loadgraph\"> <img src=\"$loadgraphm\">");
|
||||
}
|
||||
if ($tempgraph) {
|
||||
echo("<img src=\"$tempgraph\"> <img src=\"$tempgraphm\">");
|
||||
}
|
||||
if ($mailsgraph) {
|
||||
echo("<img src=\"$mailsgraph\"> <img src=\"$mailsgraphm\">");
|
||||
}
|
||||
if ($mailerrorgraph) {
|
||||
echo("<img src=\"$mailerrorgraph\"> <img src=\"$mailerrorgraphm\">");
|
||||
}
|
||||
if ($couriergraph) {
|
||||
echo("<img src=\"$couriergraph\"> <img src=\"$couriergraphm\">");
|
||||
}
|
||||
if ($ahitsgraph) {
|
||||
echo("<img src=\"$ahitsgraph\"> <img src=\"$ahitsgraphm\">");
|
||||
}
|
||||
if ($abitsgraph) {
|
||||
echo("<img src=\"$abitsgraph\"> <img src=\"$abitsgraphm\">");
|
||||
}
|
||||
if ($usersgraph) {
|
||||
echo("<img src=\"$usersgraph\"> <img src=\"$usersgraphm\">");
|
||||
}
|
||||
if ($procsgraph) {
|
||||
echo("<img src=\"$procsgraph\"> <img src=\"$procsgraphm\">");
|
||||
}
|
||||
if ($uptimegraph) {
|
||||
echo("<img src=\"$uptimegraph\"> <img src=\"$uptimegraphm\">");
|
||||
}
|
||||
|
||||
**/
|
||||
|
||||
echo("</div>");
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
$graph_title = "Device Uptime";
|
||||
$graph_type = "device_uptime"; include ("includes/print-device-graph.php"); break;
|
||||
?>
|
||||
Reference in New Issue
Block a user