mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix MyPowerOS mempools (#9861)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
echo 'Maipu MemPool';
|
||||
|
||||
$memory = snmp_get_multi_oid($device, ['memoryTotalBytes.0, numBytesAlloc.0, numBytesFree.0'], '-OvQ', 'MPIOS-MIB');
|
||||
$memory = snmp_get_multi_oid($device, ['memoryTotalBytes.0', 'numBytesAlloc.0', 'numBytesFree.0'], '-OvQ', 'MPIOS-MIB');
|
||||
|
||||
$mempool['total'] = $memory['memoryTotalBytes.0'];
|
||||
$mempool['used'] = $memory['numBytesAlloc.0'];
|
||||
|
||||
Reference in New Issue
Block a user