MAIPU MyPowerOS: CPU, Memory, expanded detection (#9825)

* New OS: MAIPU MyPowerOS

* fix file permissions
This commit is contained in:
TheGreatDoc
2019-02-15 15:02:06 +01:00
committed by Tony Murray
parent 5d74839139
commit 6ea0e72d73
9 changed files with 42146 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
<?php
if ($device['os'] === 'mypoweros') {
echo 'MAIPU-MEMORY-POOL: ';
$usage = snmp_get($device, 'allocBytesPercent.0', '-OvQ', 'MPIOS-MIB');
if (is_numeric($usage)) {
discover_mempool($valid_mempool, $device, 0, 'mypoweros', 'Memory', '100', null, null);
}
}