Files
librenms-librenms/html/pages/device/port/adsl.inc.php
Maximilian Wilhelm 4d78a0261e Update graph and port pages to use new RRD naming schema.
Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-01-26 13:49:54 +01:00

25 lines
728 B
PHP

<?php
if (file_exists(get_port_rrdfile_path ($device['hostname'], $port['port_id'], 'adsl'))) {
$iid = $id;
echo '<div class=graphhead>ADSL Line Speed</div>';
$graph_type = 'port_adsl_speed';
include 'includes/print-interface-graphs.inc.php';
echo '<div class=graphhead>ADSL Line Attenuation</div>';
$graph_type = 'port_adsl_attenuation';
include 'includes/print-interface-graphs.inc.php';
echo '<div class=graphhead>ADSL Line SNR Margin</div>';
$graph_type = 'port_adsl_snr';
include 'includes/print-interface-graphs.inc.php';
echo '<div class=graphhead>ADSL Output Powers</div>';
$graph_type = 'port_adsl_power';
include 'includes/print-interface-graphs.inc.php';
}