mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Travis tests for code conformance. Ignore warnings for now. Fixed all errors, left most warnings.
26 lines
560 B
PHP
26 lines
560 B
PHP
<?php
|
|
|
|
$rrd_filename = get_port_rrdfile_path($device['hostname'], $port['port_id'], 'adsl');
|
|
|
|
$rrd_list[0]['filename'] = $rrd_filename;
|
|
$rrd_list[0]['descr'] = 'Downstream';
|
|
$rrd_list[0]['ds'] = 'AturCurrAttainableR';
|
|
|
|
$rrd_list[1]['filename'] = $rrd_filename;
|
|
$rrd_list[1]['descr'] = 'Upstream';
|
|
$rrd_list[1]['ds'] = 'AtucCurrAttainableR';
|
|
|
|
$unit_text = 'Bits/sec';
|
|
|
|
$units = '';
|
|
$total_units = '';
|
|
$colours = 'mixed';
|
|
|
|
$scale_min = '0';
|
|
|
|
$nototal = 1;
|
|
|
|
if ($rrd_list) {
|
|
include 'includes/graphs/generic_multi_line.inc.php';
|
|
}
|