Fix MyPowerOS mempools (#9861)
This commit is contained in:
parent
99c8dbd5a1
commit
5d3a286833
|
@ -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'];
|
||||
|
|
Loading…
Reference in New Issue