mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
67b28ec4cd
* Fix Air Fiber port stats Define OS port polling includes in a standard way. Move Air Fiber code to os port polling include. * Update snmp data * fix accidental change * Some formatting fixes * should be null
9 lines
268 B
PHP
9 lines
268 B
PHP
<?php
|
|
|
|
$brocade_stats = snmpwalk_group($device, 'swFCPortName', 'SW-MIB', 1, $brocade_stats);
|
|
|
|
foreach ($brocade_stats as $index => $port) {
|
|
$index_brocade=$index + 1073741823;
|
|
$port_stats[$index_brocade]['ifAlias'] = $brocade_stats[$index]['swFCPortName'];
|
|
}
|