Interface Traffic
';
$graph_type = 'port_bits';
echo '';
include 'includes/html/print-interface-graphs.inc.php';
echo '
';
echo '
Interface Packets
';
$graph_type = 'port_upkts';
echo '
';
include 'includes/html/print-interface-graphs.inc.php';
echo '
';
echo '
Interface Non Unicast
';
$graph_type = 'port_nupkts';
echo '
';
include 'includes/html/print-interface-graphs.inc.php';
echo '
';
echo '
Interface Errors
';
$graph_type = 'port_errors';
echo '
';
include 'includes/html/print-interface-graphs.inc.php';
echo '
';
if (rrdtool_check_rrd_exists(get_port_rrdfile_path($device['hostname'], $port['port_id'], 'poe'))) {
echo '
PoE
';
$graph_type = 'port_poe';
echo '
';
include 'includes/html/print-interface-graphs.inc.php';
echo '
';
}
if (rrdtool_check_rrd_exists(get_port_rrdfile_path($device['hostname'], $port['port_id'], 'dot3'))) {
echo '
Ethernet Errors
';
$graph_type = 'port_etherlike';
echo '
';
include 'includes/html/print-interface-graphs.inc.php';
echo '
';
}
/*
* CISCO-IF-EXTENSION MIB statistics
* Additional information about input and output errors as seen in `show interface` output.
*/
if (rrdtool_check_rrd_exists(get_port_rrdfile_path($device['hostname'], $port['port_id'], 'cie'))) {
echo '
Detailed interface errors
';
$graph_type = 'port_cie';
echo '
';
include 'includes/html/print-interface-graphs.inc.php';
echo '
';
}
}