mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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
This commit is contained in:
@@ -146,9 +146,9 @@ if ($port_adsl['adslLineCoding']) {
|
||||
// adslAtucCurrAttainableRate is UploadMaxRate
|
||||
echo 'Max:' . formatRates($port_adsl['adslAturCurrAttainableRate']) . '/' . formatRates($port_adsl['adslAtucCurrAttainableRate']);
|
||||
echo "</td><td width=150 onclick=\"location.href='" . generate_port_url($port) . "'\" >";
|
||||
echo 'Atten:' . $port_adsl['adslAtucCurrAtn'] . 'dB/' . $port_adsl['adslAturCurrAtn'] . 'dB';
|
||||
echo 'Atten:' . $port_adsl['adslAturCurrAtn'] . 'dB/' . $port_adsl['adslAtucCurrAtn'] . 'dB';
|
||||
echo '<br />';
|
||||
echo 'SNR:' . $port_adsl['adslAtucCurrSnrMgn'] . 'dB/' . $port_adsl['adslAturCurrSnrMgn'] . 'dB';
|
||||
echo 'SNR:' . $port_adsl['adslAturCurrSnrMgn'] . 'dB/' . $port_adsl['adslAtucCurrSnrMgn'] . 'dB';
|
||||
} else {
|
||||
echo "</td><td width=150 onclick=\"location.href='" . generate_port_url($port) . "'\" >";
|
||||
if ($port['ifType'] && $port['ifType'] != '') {
|
||||
|
||||
Reference in New Issue
Block a user