Files
librenms-librenms/includes/discovery/core.inc.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
196 B
PHP
Raw Normal View History

<?php
use LibreNMS\OS;
use LibreNMS\OS\Generic;
// start assuming no os
(new \LibreNMS\Modules\Core())->discover(Generic::make($device));
// then create with actual OS
$os = OS::make($device);