mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
accesspoint support (probably) from ethan sommer (#50)
git-svn-id: http://www.observium.org/svn/observer/trunk@3223 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
27
html/includes/graphs/accesspoints/interference.inc.php
Normal file
27
html/includes/graphs/accesspoints/interference.inc.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
$ap=accesspoint_by_id($id);
|
||||
$device = device_by_id_cache($ap['device_id']);
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] ."/".
|
||||
safename("arubaap-$ap[name].$ap[radio_number].rrd");
|
||||
|
||||
$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");
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user