Added memory to CiscoWLC, added discovery of APs to CiscoWLC, Fixed wrong table used in accesspoint-tab

This commit is contained in:
Frederik Mogensen
2015-10-04 23:01:24 +02:00
parent 7356464153
commit 49a613a44d
3 changed files with 143 additions and 16 deletions

View File

@@ -0,0 +1,12 @@
<?php
if ($device['os'] == 'ciscowlc') {
echo 'Cisco WLC';
$total = str_replace('"', "", snmp_get($device, "1.3.6.1.4.1.14179.1.1.5.3.0", '-OvQ'));
$avail = str_replace('"', "", snmp_get($device, "1.3.6.1.4.1.14179.1.1.5.2.0", '-OvQ'));
if ((is_numeric($total)) && (is_numeric($avail))) {
discover_mempool($valid_mempool, $device, 0, 'ciscowlc', 'Memory', '1', null, null);
}
}