. * * @package LibreNMS * @link http://librenms.org * @copyright 2020 Hans Erasmus * @author Hans Erasmus */ namespace LibreNMS\OS; use LibreNMS\Interfaces\Discovery\OSDiscovery; use LibreNMS\OS; class Gigavue extends OS implements OSDiscovery { public function discoverOS(): void { $device = $this->getDeviceModel(); $info = snmp_getnext_multi($this->getDevice(), 'version serialNumber', '-OQUs', 'GIGAMON-SNMP-MIB'); $device->version = $info['version']; $device->serial = $info['serialNumber']; $device->hardware = $device->sysDescr; } }