mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
36 lines
816 B
PHP
36 lines
816 B
PHP
<?php
|
|
|
|
$rrd_filename = rrd_name($device['hostname'], 'ubnt-unifi-mib');
|
|
|
|
$colours = 'mixed';
|
|
$unit_text = '% used';
|
|
$scale_min = '0';
|
|
$scale_max = '100';
|
|
$rigid = true;
|
|
$print_total = true;
|
|
$simple_rrd = true;
|
|
|
|
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
|
$rrd_list = array(
|
|
array(
|
|
'ds' => 'Radio1OtherBss',
|
|
'filename' => $rrd_filename,
|
|
'descr' => 'Radio1 Others',
|
|
),
|
|
array(
|
|
'ds' => 'Radio1CuSelfRx',
|
|
'filename' => $rrd_filename,
|
|
'descr' => 'Radio1 RX',
|
|
),
|
|
array(
|
|
'ds' => 'Radio1CuSelfTx',
|
|
'filename' => $rrd_filename,
|
|
'descr' => 'Radio1 TX',
|
|
),
|
|
);
|
|
} else {
|
|
echo "file missing: $rrd_filename";
|
|
}
|
|
|
|
require 'includes/graphs/generic_multi.inc.php';
|