mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
vastly improved entity-sensors and cisco-entity-sensors speed. improved entity-mib inventory. removed device_id element from oid caches. add min/max ranges to sensor graphs.
git-svn-id: http://www.observium.org/svn/observer/trunk@1669 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -13,7 +13,7 @@ if(($device['os'] == "ios" || $device['os_group'] == "ios") && $cemp_count == "0
|
||||
$cmp_array = snmpwalk_cache_oid($device, 'ciscoMemoryPool', NULL, "CISCO-MEMORY-POOL-MIB");
|
||||
|
||||
if(is_array($cmp_array)) {
|
||||
foreach($cmp_array[$device[device_id]] as $index => $cmp) {
|
||||
foreach($cmp_array as $index => $cmp) {
|
||||
if(is_numeric($cmp['ciscoMemoryPoolUsed']) && is_numeric($index)) {
|
||||
discover_mempool($valid_mempool, $device, $index, "cmp", $cmp['ciscoMemoryPoolName'], "1", NULL, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user