. * * @package LibreNMS * @link http://librenms.org * @copyright 2017 Tony Murray * @author Tony Murray */ $hardware = snmp_get($device, 'vpwrIdentModel.0', '-Ovqa', 'VALERE-DC-POWER-MIB'); $version = snmp_get($device, 'vpwrIdentControllerVersion.0', '-Ovqa', 'VALERE-DC-POWER-MIB'); $features = implode(', ', explode(PHP_EOL, snmp_walk($device, 'vpwrModuleOID', '-Oqvs', 'VALERE-DC-POWER-MIB')));