mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Use data_update instead of rrd_update/rrd_create and influx_update Centralize rrd file check so we can check against a remote rrdcached server too Use rrd_name() to generate rrd file names
22 lines
430 B
PHP
22 lines
430 B
PHP
<?php
|
|
|
|
$rrd_filename = rrd_name($device['hostname'], array('arubaap', $ap['name'].$ap['radio_number']));
|
|
|
|
$rrd_list[0]['filename'] = $rrd_filename;
|
|
$rrd_list[0]['descr'] = 'Interference';
|
|
$rrd_list[0]['ds'] = 'interference';
|
|
|
|
$unit_text = 'Int';
|
|
|
|
$units = '';
|
|
$total_units = '';
|
|
$colours = 'mixed';
|
|
|
|
$scale_min = '0';
|
|
|
|
$nototal = 1;
|
|
|
|
if ($rrd_list) {
|
|
include 'includes/graphs/generic_multi_line.inc.php';
|
|
}
|