. * * @link https://www.librenms.org * * @copyright 2020 Tony Murray * @author Tony Murray */ namespace LibreNMS\OS; use App\Models\Device; use LibreNMS\Interfaces\Discovery\OSDiscovery; use LibreNMS\OS; class AllworxVoip extends OS implements OSDiscovery { public function discoverOS(Device $device): void { $device->hardware = $device->sysDescr; $device->serial = $device->sysName; $device->version = snmp_get($this->getDeviceArray(), 'applVersion.1', '-OQv', 'NETWORK-SERVICES-MIB'); } }