. * * @package LibreNMS * @link https://www.librenms.org * * @author Peca Nesovanovic */ if ($device['os'] == 'eltex-mes21xx') { $storage['units'] = 1024; $storage['free'] = snmp_get($device, 'rlFileFreeSizeOfFlash.0', '-Oqv', 'RADLAN-File'); $storage['size'] = snmp_get($device, 'rlFileTotalSizeOfFlash.0', '-Oqv', 'RADLAN-File'); $storage['used'] = $storage['size'] - $storage['free']; }