"); if ($if_list) { echo(""); foreach ($ports as $port) { $done = "yes"; unset($class); $port['ifAlias'] = str_ireplace($type . ": ", "", $port['ifAlias']); $port['ifAlias'] = str_ireplace("[PNI]", "Private", $port['ifAlias']); $ifclass = ifclass($port['ifOperStatus'], $port['ifAdminStatus']); if ($bg == "#ffffff") { $bg = "#e5e5e5"; } else { $bg = "#ffffff"; } echo(""); } } else { echo(""); } ?>
Total Graph for ports of type : ".$types."
"); $graph_type = "multiport_bits_separate"; $port['interface_id'] = $if_list; include("includes/print-interface-graphs.inc.php"); echo("
" . generate_port_link($port,$port['port_descr_descr']) . "
".generate_device_link($port)." ".generate_port_link($port)." "); if (dbFetchCell("SELECT count(*) FROM mac_accounting WHERE interface_id = ?", array($port['interface_id']))) { echo(" MAC Accounting"); } echo("
"); if (file_exists($config['rrd_dir'] . "/" . $port['hostname'] . "/port-" . $port['ifIndex'] . ".rrd")) { $graph_type = "port_bits"; include("includes/print-interface-graphs.inc.php"); } echo("
None found.