mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix mempool a bit
git-svn-id: http://www.observium.org/svn/observer/trunk@1030 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -13,7 +13,9 @@ if(is_array($storage_array)) {
|
||||
$units = $storage['hrStorageAllocationUnits'];
|
||||
$deny = 1;
|
||||
|
||||
if ($fstype == "hrStorageVirtualMemory" || $fstype == "hrStorageRam" || $fstype == "hrStorageOther") { $deny = 0; }
|
||||
if ($fstype == "hrStorageVirtualMemory" || $fstype == "hrStorageRam") { $deny = 0; }
|
||||
|
||||
if(strstr($descr, "MALLOC") || strstr($descr, "UMA")) { $deny = 1; } ## Ignore FreeBSD INSANITY
|
||||
|
||||
if(!$deny && is_numeric($index)) {
|
||||
discover_mempool($valid_mempool, $device, $index, "hrstorage", $descr, $units, NULL, NULL);
|
||||
|
Reference in New Issue
Block a user