'; 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 'None found.'; } ?>
Device Interface Speed Circuit Notes
Total Graph for ports of type : ".$types.'
'; if ($if_list) { $graph_type = 'multiport_bits_separate'; $port['port_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).'
'.generate_port_link($port, makeshortif($port['ifDescr'])).' '.$port['port_descr_speed'].' '.$port['port_descr_circuit'].' '.$port['port_descr_notes']."
'device', 'device'=>$port['device_id'], 'tab'=>'port', 'port'=>$port['port_id'], 'view'=>'macaccounting')) . "'> 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 '