brocade fabric os enhancement #3988

Merged
merged 1 commit into from Aug 9, 2016

Projects

None yet

3 participants

@crcro
Contributor
crcro commented Aug 7, 2016

No description provided.

@crcro crcro rewrite of brocade switches models
71e97cd
@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
includes/polling/os/fabos.inc.php
$version = trim(snmp_get($device, '1.3.6.1.4.1.1588.2.1.1.1.1.6.0', '-Ovq'), '"');
-$hardware = trim(snmp_get($device, 'ENTITY-MIB::entPhysicalDescr.1', '-Ovq'), '"');
+$gethardware = trim(snmp_get($device, 'SNMPv2-SMI::mib-2.75.1.1.4.1.3.1', '-Ovq'), '"');
+$revboard = str_replace("SNMPv2-SMI::enterprises.1588.2.1.1.", "", $gethardware);
@laf
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
crcro Aug 8, 2016 Contributor

snmpget SNMPv2-SMI::mib-2.75.1.1.4.1.3.1
SNMPv2-SMI::mib-2.75.1.1.4.1.3.1 = OID: SNMPv2-SMI::enterprises.1588.2.1.1.43

@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.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@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