. * * @link https://www.librenms.org */ namespace LibreNMS\OS; use App\Models\Device; use LibreNMS\Interfaces\Discovery\OSDiscovery; class DanthermOs extends \LibreNMS\OS implements OSDiscovery { public function discoverOS(Device $device): void { parent::discoverOS($device); // yaml $device->sysName = \SnmpQuery::get('DANTHERM-COOLING-MIB::hostName.0')->value() ?: $device->sysName; } }