mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* FortiADC detection and basic statistics * Style fix * Fixed test data * Fix test data * Recollected all test data * Add num_oid
23 lines
433 B
PHP
23 lines
433 B
PHP
<?php
|
|
|
|
namespace LibreNMS\OS;
|
|
|
|
use App\Models\Device;
|
|
use LibreNMS\Interfaces\Polling\OSPolling;
|
|
use LibreNMS\OS\Shared\Fortinet;
|
|
|
|
class Fortiadc extends Fortinet implements OSPolling
|
|
{
|
|
public function discoverOS(Device $device): void
|
|
{
|
|
parent::discoverOS($device); // yaml
|
|
|
|
$device->hardware = $device->hardware ?: $this->getHardwareName();
|
|
}
|
|
|
|
public function pollOS(): void
|
|
{
|
|
//
|
|
}
|
|
}
|