. * * @package LibreNMS * @link http://librenms.org * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ if ($device['os'] === 'powerwalker') { echo("PowerWalker "); if (is_numeric($pre_cache['powerwalker']['upsInputFrequency'][1])) { $descr = 'Input Voltage'; $oid = '.1.3.6.1.2.1.33.1.3.3.1.2.1'; discover_sensor($valid['sensor'], 'frequency', $device, $oid, 2, 'powerwalker', $descr, '1', '1', null, null, null, null, $value); } }