mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
26 lines
552 B
PHP
26 lines
552 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'] = 'AturCurrOutputPwr';
|
|
|
|
$rrd_list[1]['filename'] = $rrd_filename;
|
|
$rrd_list[1]['descr'] = 'Upstream';
|
|
$rrd_list[1]['ds'] = 'AtucCurrOutputPwr';
|
|
|
|
$unit_text = 'dBm';
|
|
|
|
$units = '';
|
|
$total_units = '';
|
|
$colours = 'mixed';
|
|
|
|
$scale_min = '0';
|
|
|
|
$nototal = 1;
|
|
|
|
if ($rrd_list) {
|
|
include 'includes/graphs/generic_multi_line.inc.php';
|
|
}
|