mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Update boss.inc.php Another easter egg for the rebranding of voss and boss. Lost the memory usage. Modifying allowed the voss and boss to graph memory again. * Update voss.inc.php Another easter egg for the rebranding of voss and boss. Lost the memory usage. Modifying allowed the voss and boss to graph memory again. * Rename voss.inc.php to avaya-vsp.inc.php * Rename boss.inc.php to avaya-ers.inc.php * Update voss.inc.php * Update boss.inc.php
11 lines
316 B
PHP
11 lines
316 B
PHP
<?php
|
|
|
|
$index = $mempool['mempool_index'];
|
|
|
|
$total = (snmp_get($device, ".1.3.6.1.4.1.45.1.6.3.8.1.1.12$index", '-Oqv') * 1048576);
|
|
$avail = (snmp_get($device, ".1.3.6.1.4.1.45.1.6.3.8.1.1.13$index", '-Oqv') * 1048576);
|
|
|
|
$mempool['total'] = $total;
|
|
$mempool['free'] = $avail;
|
|
$mempool['used'] = ($total - $avail);
|