mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
9 lines
421 B
PHP
9 lines
421 B
PHP
<?php
|
|
|
|
echo 'FORTIAUTHENTICATOR-MEMORY-POOL: ';
|
|
$usage = str_replace('"', "", snmp_get($device, 'FORTINET-FORTIAUTHENTICATOR-MIB::facSysMemUsage.0', '-OvQ'));
|
|
if (is_numeric($usage)) {
|
|
// get hardware memory: Total physical memory (RAM) installed (KB) - FortiAuthenticator uses Base 2 - Precision = 1024
|
|
discover_mempool($valid_mempool, $device, 0, 'fortiauthenticator', 'Physical Memory', '1024', null, null);
|
|
}
|