brocade fabric os enhancement #3988

merged 1 commit into from Aug 9, 2016


None yet

3 participants

crcro commented Aug 7, 2016

No description provided.

@crcro crcro rewrite of brocade switches models
@crcro crcro changed the title from rewrite of brocade switches models to brocade fabric os enhancement Aug 7, 2016
@laf laf commented on the diff Aug 8, 2016
$version = trim(snmp_get($device, '', '-Ovq'), '"');
-$hardware = trim(snmp_get($device, 'ENTITY-MIB::entPhysicalDescr.1', '-Ovq'), '"');
+$gethardware = trim(snmp_get($device, 'SNMPv2-SMI::mib-', '-Ovq'), '"');
+$revboard = str_replace("SNMPv2-SMI::enterprises.1588.2.1.1.", "", $gethardware);
laf Aug 8, 2016 Member

This just seems wrong :)

You can probably get what you want by using different -O flags, what does an snmpget look like for it?

crcro Aug 8, 2016 Contributor

snmpget SNMPv2-SMI::mib-
SNMPv2-SMI::mib- = OID: SNMPv2-SMI::enterprises.1588.

@laf laf added New-Device Blocker and removed Blocker labels Aug 8, 2016
@laf laf merged commit 2c001db into librenms:master Aug 9, 2016

2 checks passed

Auto-Deploy Build finished.
continuous-integration/travis-ci/pr The Travis CI build passed
@crcro crcro deleted the unknown repository branch Aug 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment