39 lines
718 B
PHP
39 lines
718 B
PHP
<?php
|
|
|
|
/**
|
|
* Observium
|
|
*
|
|
* This file is part of Observium.
|
|
*
|
|
* @package observium
|
|
* @subpackage graphs
|
|
* @copyright (C) Adam Armstrong
|
|
*
|
|
*/
|
|
|
|
$rrd_filename = get_port_rrdfilename($port, "adsl", TRUE);
|
|
|
|
$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($config['html_dir'] . "/includes/graphs/generic_multi_line.inc.php");
|
|
}
|
|
|
|
?>
|