Skip to content

Commit

Permalink
Fix MyPowerOS mempools (#9861)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGreatDoc authored and PipoCanaja committed Feb 22, 2019
1 parent 99c8dbd commit 5d3a286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/polling/mempools/mypoweros.inc.php
Expand Up @@ -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'];
Expand Down

0 comments on commit 5d3a286

Please sign in to comment.