mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00: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(!is_array($mempool_cache['hpLocal'])) {
|
||||
if ($debug) { print_r($mempool_cache); }
|
||||
} else { if($debug) { echo("Cached!"); } }
|
||||
|
||||
$entry = $mempool_cache['hpLocal'][$device[device_id]][$mempool[mempool_index]];
|
||||
$entry = $mempool_cache['hpLocal'][$mempool[mempool_index]];
|
||||
|
||||
$mempool['units'] = "1";
|
||||
$mempool['used'] = $entry['hpLocalMemAllocBytes'];
|
||||
|
Reference in New Issue
Block a user