Files
librenms-librenms/includes/polling/wifi.inc.php
Tony Murray 4dd56bc72e refactor: Wifi cleanup (#7607)
* 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
2017-11-02 21:07:58 +00:00

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';
}