[ixpmanager] Interface Polling issue - MauType error

Daniel Spierling daniel.spierling at de-cix.net
Wed Mar 11 08:21:42 GMT 2015


Good morning Barry,

thanks for your fast response and support on this issue! Did not expect it to be fixed this fast. :-)

Your patch has been installed and the interface polling works fine now.

Best regards,
Daniel
-- 
Daniel Spierling
Junior Network Engineer

DE-CIX Management GmbH | Lindleystrasse 12 | 60314 Frankfurt am Main | Germany | www.de-cix.net
Phone +49 69 1730902 85 | Fax +49 69 4056 2716 | daniel.spierling at de-cix.net
Geschaeftsfuehrer Harald A. Summa | Registergericht AG Koeln HRB 51135

Am 11.03.2015 um 08:07 schrieb Barry O'Donovan <barry.odonovan at inex.ie>:

> 
> Hi Daniel,
> 
> First, thanks for the most thorough and well researched support request we have received to date! This should be a template to all.
> 
> Thanks to the work and tests you've done, it seems to me that the Cisco device / os version you're using supports MAU but not all of the MIBs.
> 
> Can you try the latest version from GitHub where I've pushed a small change ( http://git.io/pgQ7 ) that will hopefully catch these errors without affecting the rest of the switch polling.
> 
> Thanks!
> 
> - Barry
> 
> 
> On 10/03/2015 21:50, Daniel Spierling wrote:
>> Dear Barry et al,
>> 
>> first of all thanks for the good work and thanks for sharing the IXP Manager Tool. Great Stuff!
>> 
>> Unfortunately we ran into some problem while polling a Cisco 6509.
>> 
>> Polling process via the GUI gets interrupted with an error message „SNMP Error“
>> 
>> As we could not make up anything from this error message, we startet to dig a little deeper:
>> 
>> dspierling at ixp1:/usr/local/ixp/bin$ sudo ./ixptool.php -a switch-cli.snmp-poll -v
>> First time polling of sw001 with SNMP request to sw001
>> 2015-03-10T01:59:44+00:00 INFO (6):  [sw001] Platform: Found Model: WS-C6509-E
>> 2015-03-10T01:59:44+00:00 INFO (6):  [sw001] Platform: Updating Os from  to IOS
>> 2015-03-10T01:59:44+00:00 INFO (6):  [sw001] Platform: Found OsDate: Unknown
>> 2015-03-10T01:59:44+00:00 INFO (6):  [sw001] Platform: Updating OsVersion from  to 15.1(1)SY1
>> 2015-03-10T01:59:44+00:00 INFO (6):  [sw001] Platform: Updating SerialNumber from  to (not implemented)
>> 2015-03-10T01:59:44+00:00 INFO (6): Found new port for sw001 with index 1
>> 2015-03-10T01:59:44+00:00 INFO (6): [sw001]: [Index: 1] Updating Name from [] to [TenGigabitEthernet1/1]
>> 2015-03-10T01:59:44+00:00 INFO (6): [sw001]:TenGigabitEthernet1/1 [Index: 1] Updating IfName from [] to [Te1/1]
>> 2015-03-10T01:59:44+00:00 INFO (6): [sw001]:TenGigabitEthernet1/1 [Index: 1] Updating IfAlias from [] to [nnnn 0 ASXXXX-CustomerA]
>> 2015-03-10T01:59:44+00:00 INFO (6): [sw001]:TenGigabitEthernet1/1 [Index: 1] Updating IfHighspeed from [] to [10000]
>> 2015-03-10T01:59:44+00:00 INFO (6): [sw001]:TenGigabitEthernet1/1 [Index: 1] Updating IfMtu from [] to [1500]
>> 2015-03-10T01:59:44+00:00 INFO (6): [sw001]:TenGigabitEthernet1/1 [Index: 1] Updating IfPhysAddress from [] to [F872EA7F5D88]
>> 2015-03-10T01:59:44+00:00 INFO (6): [sw001]:TenGigabitEthernet1/1 [Index: 1] Updating IfAdminStatus from [] to [1]
>> 2015-03-10T01:59:44+00:00 INFO (6): [sw001]:TenGigabitEthernet1/1 [Index: 1] Updating IfOperStatus from [] to [2]
>> 2015-03-10T01:59:44+00:00 INFO (6): [sw001]:TenGigabitEthernet1/1 [Index: 1] Updating IfLastChange from [] to [1425655903]
>> 2015-03-10T01:59:44+00:00 INFO (6): [sw001]:TenGigabitEthernet1/1 [Index: 1] Updating MauType from [] to [(empty)]
>> ERROR: OSS_SNMP exception polling sw001 by SNMP
>> 
>> 
>> Currently it looks like, that we get an error / unhanded exeption during the MauType Update, because of an empty or wrong return value from our switch.
>> 
>> dspierling at ixp1:/usr/local/ixp/library/OSS_SNMP.git/examples$ sudo ./mau.php sw001 public
>> 
>> Number of interfaces on sw001: 65
>> 
>> ID:  Name  - Index - Type - State - Media Available - Jack Type - State Exits - Jabber State - Autoneg
>> 
>> PHP Fatal error:  Uncaught exception 'OSS_SNMP\Exception' with message 'Could not perform walk for OID .1.3.6.1.2.1.26.2.1.1.4' in /usr/local/ixp/library/OSS_SNMP.git/src/OSS_SNMP/SNMP.php:277
>> Stack trace:
>> #0 /usr/local/ixp/library/OSS_SNMP.git/src/OSS_SNMP/MIBS/MAU.php(714): OSS_SNMP\SNMP->subOidWalk('.1.3.6.1.2.1.26...', 12)
>> #1 /usr/local/ixp/library/OSS_SNMP.git/examples/mau.php(82): OSS_SNMP\MIBS\MAU->states(true)
>> #2 {main}
>>   thrown in /usr/local/ixp/library/OSS_SNMP.git/src/OSS_SNMP/SNMP.php on line 277
>> 
>> 
>> Looking further into this, it seems that this is confirming our assumptions; we do not receive any usable value for the OID „.1.3.6.1.2.1.26.2.1.1.4“ from the switch.
>> 
>> 
>> dspierling at ixp1:/usr/local/ixp/library/OSS_SNMP.git/examples$ snmpwalk -v 2c -c public sw001 .1.3.6.1.2.1.26.2.1.1.4
>> iso.3.6.1.2.1.26.2.1.1.4 = No Such Object available on this agent at this OID
>> 
>> Testing via snmpwalk - same result..
>> 
>> 
>> Any further information of our Interfaces seem to get polled accordingly:
>> 
>> dspierling at ixp1:/usr/local/ixp/library/OSS_SNMP.git/examples$ sudo ./interfaces.php sw001 public
>> 
>> Number of interfaces on sw001: 65
>> 
>> ID:  Name  - Descrition - Type - Admin/Operational State
>> 
>> 1: Te1/1 - TenGigabitEthernet1/1 - ethernetCsmacd - up/down
>> 2: Te1/2 - TenGigabitEthernet1/2 - ethernetCsmacd - down/down
>> 3: Te1/3 - TenGigabitEthernet1/3 - ethernetCsmacd - down/down
>> 4: Te1/4 - TenGigabitEthernet1/4 - ethernetCsmacd - down/down
>> etc…
>> 
>> 
>> 
>> Additionally here are some more information about the Cisco Switch:
>> 
>> sw001#show ver
>> Cisco IOS Software, s2t54 Software (s2t54-ADVIPSERVICESK9-M), Version 15.1(1)SY1, RELEASE SOFTWARE (fc5)
>> Technical Support: http://www.cisco.com/techsupport
>> Copyright (c) 1986-2013 by Cisco Systems, Inc.
>> 
>> ROM: System Bootstrap, Version 12.2(50r)SYS3, RELEASE SOFTWARE (fc1)
>> 
>>  sw001 uptime is 5 days, 10 hours, 11 minutes
>> Uptime for this control processor is 5 days, 10 hours, 12 minutes
>> System returned to ROM by power on
>> System restarted at 11:39:51 WAT Thu Mar 5 2015
>> System image file is "bootdisk:s2t54-advipservicesk9-mz.SPA.151-1.SY1.bin"
>> Last reload reason: power-on
>> 
>> 
>> cisco WS-C6509-E (M8572) processor (revision ) with 3162112K/524288K bytes of memory.
>> Processor board ID SMC1722002M
>>  CPU: MPC8572_E, Version: 2.2, (0x80E80022)
>>  CORE: E500, Version: 3.0, (0x80210030)
>>  CPU:1500MHz, CCB:600MHz, DDR:600MHz
>>  L1:    D-cache 32 kB enabled
>>         I-cache 32 kB enabled
>> 
>> Last reset from power-on
>> 1 Virtual Ethernet interface
>> 30 Gigabit Ethernet interfaces
>> 20 Ten Gigabit Ethernet interfaces
>> 2543K bytes of non-volatile configuration memory.
>> 
>> Configuration register is 0x2102
>> 
>> 
>> Your help is much appreciated!
>> 
>> Thanks in advance.
>> 
>> Best regards
>> Daniel
>> 
> 
> -- 
> 
> Kind regards,
> Barry O'Donovan
> INEX Operations
> 
> Mob: +353 86 801 7669
> Tel: +353  1 685 4220
> 
> +-------------------------------+-------------------------------------+
> | Open Source Solutions Ltd.    | INEX Operations Team                |
> | 7th Floor, North Block,       | Internet Neutral Exchange           |
> | Rockfield Central,            | Association, 4027 Kingswood Road,   |
> | Dundrum, Dublin 16.           | Citywest Business Campus, Dublin 24 |
> | http://www.opensolutions.ie/  | http://www.inex.ie/                 |
> +-------------------------------+-------------------------------------+
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager



More information about the ixpmanager mailing list