Fix MyPowerOS mempools (#9861)

This commit is contained in:
TheGreatDoc 2019-02-22 23:02:21 +01:00 committed by PipoCanaja
parent 99c8dbd5a1
commit 5d3a286833
1 changed files with 1 additions and 1 deletions

View File

@ -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'];