mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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'];
|
||
|
}
|