mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* refactor: remove duplicated data collection in old wifi module Still a bit more work before we can fully remove it * remove unused graphs update overview graphs for some wireless os
18 lines
660 B
PHP
18 lines
660 B
PHP
<?php
|
|
|
|
// don't add new things here use wireless polling: https://docs.librenms.org/#Developing/os/Wireless-Sensors/
|
|
|
|
if ($device['os'] == 'airos-af') {
|
|
echo 'It Is AirFIBER' . PHP_EOL;
|
|
include 'includes/polling/mib/ubnt-airfiber-mib.inc.php'; // packet stats
|
|
} elseif ($device['os'] == 'ceraos') {
|
|
echo 'It is Ceragon CeroOS' . PHP_EOL;
|
|
include 'includes/polling/mib/ceraos-mib.inc.php';
|
|
} elseif ($device['os'] == 'siklu') {
|
|
echo 'It is Siklu' . PHP_EOL;
|
|
include 'includes/polling/mib/siklu-mib.inc.php';
|
|
} elseif ($device['os'] == 'sub10') {
|
|
echo 'It is Sub10' . PHP_EOL;
|
|
include 'includes/polling/mib/sub10-mib.inc.php';
|
|
}
|