Files
librenms-librenms/includes/html/pages/device/port/adsl.inc.php
PipoCanaja 9797be3677 Update DSL stats even if port is down (#12262)
* Update DSL stats even if port is down

* Correct swapped Upload/download on graphs

* Display attainable line speed in the ADSL page

* Correct SNR graph

* Rewrite labels to avoid misunderstanding

* last swap I hope
2020-10-29 02:08:29 +01:00

30 lines
920 B
PHP

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