* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2023 Observium Limited * */ return; // PAGP removed // FIXME functions! if (!$graph_type) { $graph_type = "pagp_bits"; } $daily_traffic = "graph.php?port=" . $port['port_id'] . "&type=$graph_type&from=" . $config['time']['day'] . "&to=" . $config['time']['now'] . "&width=215&height=100"; $daily_url = "graph.php?port=" . $port['port_id'] . "&type=$graph_type&from=" . $config['time']['day'] . "&to=" . $config['time']['now'] . "&width=500&height=150"; $weekly_traffic = "graph.php?port=" . $port['port_id'] . "&type=$graph_type&from=" . $config['time']['week'] . "&to=" . $config['time']['now'] . "&width=215&height=100"; $weekly_url = "graph.php?port=" . $port['port_id'] . "&type=$graph_type&from=" . $config['time']['week'] . "&to=" . $config['time']['now'] . "&width=500&height=150"; $monthly_traffic = "graph.php?port=" . $port['port_id'] . "&type=$graph_type&from=" . $config['time']['month'] . "&to=" . $config['time']['now'] . "&width=215&height=100"; $monthly_url = "graph.php?port=" . $port['port_id'] . "&type=$graph_type&from=" . $config['time']['month'] . "&to=" . $config['time']['now'] . "&width=500&height=150"; $yearly_traffic = "graph.php?port=" . $port['port_id'] . "&type=$graph_type&from=" . $config['time']['yearh'] . "&to=" . $config['time']['now'] . "&width=215&height=100"; $yearly_url = "graph.php?port=" . $port['port_id'] . "&type=$graph_type&from=" . $config['time']['yearh'] . "&to=" . $config['time']['now'] . "&width=500&height=150"; echo("', LEFT" . $config['overlib_defaults'] . ");\" onmouseout=\"return nd();\"> "); echo("', LEFT" . $config['overlib_defaults'] . ");\" onmouseout=\"return nd();\"> "); echo("', LEFT" . $config['overlib_defaults'] . ", WIDTH, 350);\" onmouseout=\"return nd();\"> "); echo("', LEFT" . $config['overlib_defaults'] . ", WIDTH, 350);\" onmouseout=\"return nd();\"> "); foreach (dbFetchRows("SELECT * FROM `ports` WHERE `pagpGroupIfIndex` = ? and `device_id` = ?", [$port['ifIndex'], $device['device_id']]) as $member) { echo("$br " . generate_port_link($member) . " (PAgP)"); $br = "
"; } // EOF