Files
Tony Murray 67b28ec4cd Fix Air Fiber port stats (#11079)
* 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
2020-01-30 05:40:58 -06:00

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