AOS Advanced Support. (#11500)

* Comes from PR11322.

* Code changes to solve github-apply warnings. Removed aos tests.

* Added new aos tests.
This commit is contained in:
joseUPV
2020-05-18 14:50:13 +02:00
committed by GitHub
parent 7bc2f9621a
commit 9ac05f48b8
43 changed files with 40304 additions and 54089 deletions

View File

@@ -0,0 +1,9 @@
<?php
$mempool['units'] = '1';
$mempool['total'] = snmp_get($device, 'systemHardwareMemorySize.0', '-OvQ', 'ALCATEL-IND1-SYSTEM-MIB');
$percent = snmp_get($device, 'healthDeviceMemoryLatest.0', '-OvQ', 'ALCATEL-IND1-HEALTH-MIB');
$mempool['used'] = ($mempool['total'] * ($percent / 100));
$mempool['free'] = ($mempool['total'] - $mempool['used']);