mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: Cleanup poller include files (#4751)
This commit is contained in:
@@ -679,22 +679,17 @@ foreach ($ports as $port) {
|
||||
// End Update PAgP
|
||||
// Do EtherLike-MIB
|
||||
if ($config['enable_ports_etherlike']) {
|
||||
include 'port-etherlike.inc.php';
|
||||
include 'ports/port-etherlike.inc.php';
|
||||
}
|
||||
|
||||
// Do ADSL MIB
|
||||
if ($config['enable_ports_adsl']) {
|
||||
include 'port-adsl.inc.php';
|
||||
include 'ports/port-adsl.inc.php';
|
||||
}
|
||||
|
||||
// Do PoE MIBs
|
||||
if ($config['enable_ports_poe']) {
|
||||
include 'port-poe.inc.php';
|
||||
}
|
||||
|
||||
// Do Alcatel Detailed Stats
|
||||
if ($device['os'] == 'aos') {
|
||||
include 'port-alcatel.inc.php';
|
||||
include 'ports/port-poe.inc.php';
|
||||
}
|
||||
|
||||
foreach ($port['update'] as $key => $val_check) {
|
||||
|
Reference in New Issue
Block a user