. * * @package LibreNMS * @link http://librenms.org * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ if ($device['os'] === 'timos') { echo 'TiMOS Memory: '; $used = snmp_get($device, '.1.3.6.1.4.1.6527.3.1.2.1.1.2.0', '-OvQ'); $free = snmp_get($device, '.1.3.6.1.4.1.6527.3.1.2.1.1.4.0', '-OvQ'); if (is_numeric($used) && is_numeric($free)) { discover_mempool($valid_mempool, $device, 0, 'timos', 'Memory', '1', null, null); } }