Added graphs for number of APs and number of Clients attached to the APs

This commit is contained in:
Frederik Mogensen
2015-09-28 23:10:36 +02:00
parent 5b670fab5c
commit 04faec2d16
4 changed files with 96 additions and 0 deletions

View 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';
}

View 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';
}