mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00: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:
		| @@ -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>"); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user