|
From: Andy R. <ac...@gm...> - 2015-05-12 14:33:05
|
On Thu, May 7, 2015 at 1:34 PM, Andy Ruhl <ac...@gm...> wrote: > I have some IBM BNT devices which don't show their os_ver numbers in > netdisco properly. The G8124 device works, the G8052 and G8264 devices > don't. > > For example: > > netdisco=> select model,os,os_ver from device where ip='IP1'; > model | os | os_ver > ---------+-----+-------- > G8124-E | ibm | 7.11.1 > (1 row) > > netdisco=> select model,os,os_ver from device where ip='IP2'; > model | os | os_ver > -------+-----+-------- > G8052 | ibm | > (1 row) > > netdisco=> select model,os,os_ver from device where ip='IP3'; > model | os | os_ver > --------------+-----+-------- > G8264, Stack | ibm | > > The correct data shows up in bulkwalk: > > $ snmpbulkwalk -v2c -c public IP1 | egrep "version|G8124" > SNMPv2-MIB::sysDescr.0 = STRING: IBM Networking Operating System > RackSwitch G8124-E > HOST-RESOURCES-MIB::hrDeviceDescr.2 = STRING: image1, version 7.11.1, > downloaded 6:47:01 Fri Mar 13, 2015 > HOST-RESOURCES-MIB::hrDeviceDescr.3 = STRING: image2, version 7.11.1, > downloaded 6:49:34 Fri Mar 13, 2015 > HOST-RESOURCES-MIB::hrDeviceDescr.4 = STRING: linux-kernel, version 7.11.1 > SNMPv2-SMI::mib-2.47.1.1.1.1.2.1 = STRING: "IBM Networking Operating > System RackSwitch G8124-E" > SNMPv2-SMI::mib-2.47.1.1.1.1.7.1 = STRING: "RS G8124-E" > $ snmpbulkwalk -v2c -c public IP2 | egrep "version|G8052" > SNMPv2-MIB::sysDescr.0 = STRING: IBM Networking Operating System > RackSwitch G8052 > HOST-RESOURCES-MIB::hrDeviceDescr.2 = STRING: image1, version 7.11.2, > downloaded 6:16:37 Fri Mar 13, 2015 > HOST-RESOURCES-MIB::hrDeviceDescr.3 = STRING: image2, version 7.11.2, > downloaded 6:19:08 Fri Mar 13, 2015 > HOST-RESOURCES-MIB::hrDeviceDescr.4 = STRING: linux-kernel, version 7.11.2 > SNMPv2-SMI::mib-2.47.1.1.1.1.2.1 = STRING: "IBM Networking Operating > System RackSwitch G8052" > SNMPv2-SMI::mib-2.47.1.1.1.1.7.1 = STRING: "RS G8052" > $ snmpbulkwalk -v2c -c public IP3 | egrep "version|G8264" > SNMPv2-MIB::sysDescr.0 = STRING: IBM Networking Operating System > RackSwitch G8264, Stack > HOST-RESOURCES-MIB::hrDeviceDescr.2 = STRING: image1, version 7.11.1, > downloaded 17:35:51 Sat Dec 31, 2000 > HOST-RESOURCES-MIB::hrDeviceDescr.3 = STRING: image2, version 7.11.1, > downloaded 13:25:24 Thu May 7, 2015 > HOST-RESOURCES-MIB::hrDeviceDescr.4 = STRING: linux-kernel, version 7.11.1 > SNMPv2-SMI::mib-2.47.1.1.1.1.2.1 = STRING: "IBM Networking Operating > System RackSwitch G8264, Stack" > SNMPv2-SMI::mib-2.47.1.1.1.1.2.156 = STRING: "IBM Networking Operating > System RackSwitch G8264, Stack" > SNMPv2-SMI::mib-2.47.1.1.1.1.7.1 = STRING: "RS G8264" > SNMPv2-SMI::mib-2.47.1.1.1.1.7.156 = STRING: "RS G8264" > > Is it possible to fix this? > > > Sorry, this is an OS version, not model number problem as the previous subject states. Some more info. Here is discover with -DISQ for the device that works: SNMP::Info::_global agSoftwareVersion : IBM-GbTOR-10G-L2L3-MIB::agSoftwareVersion.0 : .1.3.6.1.4.1.26543.2.7.4.1.1.1.10.0 Here's the same info for one that doesn't: SNMP::Info::_global agSoftwareVersion : IBM-GbTOR-10G-L2L3-MIB::agSoftwareVersion.0 : .1.3.6.1.4.1.26543.2.7.4.1.1.1.10.0 SNMP::Info::_global(agSoftwareVersion) NOSUCHOBJECT at /home/netdisco/perl5/lib/perl5/App/Netdisco/Core/Discover.pm line 152. That's the wrong MIB file for that device. I put the correct MIB files in the netdisco-mibs/ibm directory. How do I get netdisco to use the correct one? Is that even the problem? Thanks. Andy |