mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added memory to CiscoWLC, added discovery of APs to CiscoWLC, Fixed wrong table used in accesspoint-tab
This commit is contained in:
12
includes/discovery/mempools/ciscowlc.inc.php
Normal file
12
includes/discovery/mempools/ciscowlc.inc.php
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user