mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added graphs for number of APs and number of Clients attached to the APs
This commit is contained in:
20
html/includes/graphs/device/ciscowlc_numaps.inc.php
Normal file
20
html/includes/graphs/device/ciscowlc_numaps.inc.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
$rrd_filename = $config['rrd_dir'].'/'.$device['hostname'].'/ciscowlc.rrd';
|
||||
|
||||
$rrd_list[0]['filename'] = $rrd_filename;
|
||||
$rrd_list[0]['descr'] = 'Number of APs';
|
||||
$rrd_list[0]['ds'] = 'NUMAPS';
|
||||
|
||||
$unit_text = 'APs';
|
||||
$units = '';
|
||||
$total_units = '';
|
||||
$colours = 'mixed';
|
||||
|
||||
$scale_min = '0';
|
||||
$nototal = 1;
|
||||
|
||||
|
||||
if ($rrd_list) {
|
||||
include 'includes/graphs/generic_multi_line.inc.php';
|
||||
}
|
21
html/includes/graphs/device/ciscowlc_numclients.inc.php
Normal file
21
html/includes/graphs/device/ciscowlc_numclients.inc.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
$rrd_filename = $config['rrd_dir'].'/'.$device['hostname'].'/ciscowlc.rrd';
|
||||
|
||||
$rrd_list[0]['filename'] = $rrd_filename;
|
||||
$rrd_list[0]['descr'] = 'Clients';
|
||||
$rrd_list[0]['ds'] = 'NUMCLIENTS';
|
||||
|
||||
$unit_text = 'Clients';
|
||||
|
||||
$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