Files

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

9 lines
152 B
PHP
Raw Permalink Normal View History

2020-06-22 22:57:30 +02:00
<?php
2023-10-04 10:32:59 -05:00
use LibreNMS\OS;
2020-06-22 22:57:30 +02:00
2023-10-04 10:32:59 -05:00
if (! $os instanceof OS) {
$os = OS::make($device);
2020-06-22 22:57:30 +02:00
}
2023-10-04 10:32:59 -05:00
(new \LibreNMS\Modules\Availability())->poll($os, app('Datastore'));