mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
updates
git-svn-id: http://www.observium.org/svn/observer/trunk@428 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -48,25 +48,34 @@ if( !$broke)
|
||||
|
||||
echo("<div style='clear: both;'>");
|
||||
|
||||
if(file_exists("rrd/" . $hostname . "/". $ifIndex . ".rrd")) {
|
||||
if($_GET['optb']) {
|
||||
|
||||
$iid = $id;
|
||||
echo("<div class=graphhead>Interface Traffic</div>");
|
||||
$graph_type = "bits";
|
||||
include("includes/print-interface-graphs.php");
|
||||
include("pages/device/".mres($_GET['optb']).".php");
|
||||
|
||||
echo("<div class=graphhead>Interface Packets</div>");
|
||||
$graph_type = "pkts";
|
||||
include("includes/print-interface-graphs.php");
|
||||
} else {
|
||||
|
||||
echo("<div class=graphhead>Interface Non Unicast</div>");
|
||||
$graph_type = "nupkts";
|
||||
include("includes/print-interface-graphs.php");
|
||||
if(file_exists("rrd/" . $hostname . "/". $ifIndex . ".rrd")) {
|
||||
|
||||
echo("<div class=graphhead>Interface Errors</div>");
|
||||
$graph_type = "errors";
|
||||
include("includes/print-interface-graphs.php");
|
||||
$iid = $id;
|
||||
echo("<div class=graphhead>Interface Traffic</div>");
|
||||
$graph_type = "bits";
|
||||
include("includes/print-interface-graphs.php");
|
||||
|
||||
echo("<div class=graphhead>Interface Packets</div>");
|
||||
$graph_type = "pkts";
|
||||
include("includes/print-interface-graphs.php");
|
||||
|
||||
echo("<div class=graphhead>Interface Non Unicast</div>");
|
||||
$graph_type = "nupkts";
|
||||
include("includes/print-interface-graphs.php");
|
||||
|
||||
echo("<div class=graphhead>Interface Errors</div>");
|
||||
$graph_type = "errors";
|
||||
include("includes/print-interface-graphs.php");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user