Menu

Problem with switchstatus in V1.12.1

Help
2013-11-14
2013-11-15
  • Michael Schmidt

    Michael Schmidt - 2013-11-14

    Hi Jonathan,

    today I tested the new version v1.12.1 and found errors that kept me from upgrading to this version, because I was not able to track down and solve the problem.
    Please have a look at the following intstatus.txt examples. The output comes from a nexus 7000 switch.
    As you can see the description for the port N7KH1A,Eth10/10.2005 moves to the portname itself which cannot be correct, right?

    Regards,
    Michael

    File /opt/netdb/data/intstatus.txt from v1.12 :

    # NetDB Interface Status Data: (switch,port,status,vlan,description,speed,duplex)
    N7KH1A,mgmt0,connected,routed,,1000,full
    N7KH1A,Eth10/1,connected,trunk,To-N7KH1B,10G,full
    N7KH1A,Eth10/2,connected,trunk,To-N7KH1B,10G,full
    N7KH1A,Eth10/3,sfpAbsent,1,,auto,full
    N7KH1A,Eth10/4,sfpAbsent,1,,auto,full
    N7KH1A,Eth10/5,sfpAbsent,1,,auto,full
    N7KH1A,Eth10/6,sfpAbsent,1,,auto,full
    N7KH1A,Eth10/7,sfpAbsent,1,,auto,full
    N7KH1A,Eth10/8,sfpAbsent,1,,auto,full
    N7KH1A,Eth10/9,connected,trunk,To-N7KM552A,10G,full
    N7KH1A,Eth10/10,connected,routed,To-N7KM552A-L3,10G,full
    N7KH1A,Eth10/10.2005,connected,routed,To-N7KM552A-L3-VOICE,10G,full
    N7KH1A,Eth10/10.2007,connected,routed,To-N7KM552A-L3-DEFAULT,10G,full
    N7KH1A,Eth10/10.2022,connected,routed,To-N7KM552A-L3-CSL,10G,full
    

    File /opt/netdb/data/intstatus.txt from v1.12.1 :

    # NetDB Interface Status Data: (switch,port,status,vlan,description,speed,duplex)
    N7KH1A,mgmt0,connected,routed,,1000,full
    N7KH1A,Eth10/1,connected,trunk,To-N7KH1B,10G,full
    N7KH1A,Eth10/2,connected,trunk,To-N7KH1B,10G,full
    N7KH1A,Eth10/3,sfpAbsent,1,,auto,full
    N7KH1A,Eth10/4,sfpAbsent,1,,auto,full
    N7KH1A,Eth10/5,sfpAbsent,1,,auto,full
    N7KH1A,Eth10/6,sfpAbsent,1,,auto,full
    N7KH1A,Eth10/7,sfpAbsent,1,,auto,full
    N7KH1A,Eth10/8,sfpAbsent,1,,auto,full
    N7KH1A,Eth10/9,connected,trunk,To-N7KM552A,10G,full
    N7KH1A,Eth10/10,connected,routed,To-N7KM552A-L3,10G,full
    N7KH1A,Eth10/10.2005 To-N7KM552A-L3-VOI,connected,routed,,10G,full
    N7KH1A,Eth10/10.2007 To-N7KM552A-L3-DEF,connected,routed,,10G,full
    N7KH1A,Eth10/10.2022 To-N7KM552A-L3-CSL,connected,routed,,10G,full
    
     
    • Jonathan Yantis

      Jonathan Yantis - 2013-11-14

      Michael,

      Another contributor cleaned up a bunch of code the other day and looks like they introduced this bug. I would revert to the nxosscraper.pl from the last version for right now until he can respond, but he's usually pretty quick.

      Jonathan

      On Nov 14, 2013, at 9:14 AM, "Michael Schmidt" mscsl@users.sf.net wrote:

      Hi Jonathan,

      today I tested the new version v1.12.1 and found errors that kept me from upgrading to this version, because I was not able to track down and solve the problem.
      Please have a look at the following intstatus.txt examples. The output comes from a nexus 7000 switch.
      As you can see the description for the port N7KH1A,Eth10/10.2005 moves to the portname itself which cannot be correct, right?

      Regards,
      Michael

      File /opt/netdb/data/intstatus.txt from v1.12 :

      NetDB Interface Status Data: (switch,port,status,vlan,description,speed,duplex)

      N7KH1A,mgmt0,connected,routed,,1000,full
      N7KH1A,Eth10/1,connected,trunk,To-N7KH1B,10G,full
      N7KH1A,Eth10/2,connected,trunk,To-N7KH1B,10G,full
      N7KH1A,Eth10/3,sfpAbsent,1,,auto,full
      N7KH1A,Eth10/4,sfpAbsent,1,,auto,full
      N7KH1A,Eth10/5,sfpAbsent,1,,auto,full
      N7KH1A,Eth10/6,sfpAbsent,1,,auto,full
      N7KH1A,Eth10/7,sfpAbsent,1,,auto,full
      N7KH1A,Eth10/8,sfpAbsent,1,,auto,full
      N7KH1A,Eth10/9,connected,trunk,To-N7KM552A,10G,full
      N7KH1A,Eth10/10,connected,routed,To-N7KM552A-L3,10G,full
      N7KH1A,Eth10/10.2005,connected,routed,To-N7KM552A-L3-VOICE,10G,full
      N7KH1A,Eth10/10.2007,connected,routed,To-N7KM552A-L3-DEFAULT,10G,full
      N7KH1A,Eth10/10.2022,connected,routed,To-N7KM552A-L3-CSL,10G,full
      File /opt/netdb/data/intstatus.txt from v1.12.1 :

      NetDB Interface Status Data: (switch,port,status,vlan,description,speed,duplex)

      N7KH1A,mgmt0,connected,routed,,1000,full
      N7KH1A,Eth10/1,connected,trunk,To-N7KH1B,10G,full
      N7KH1A,Eth10/2,connected,trunk,To-N7KH1B,10G,full
      N7KH1A,Eth10/3,sfpAbsent,1,,auto,full
      N7KH1A,Eth10/4,sfpAbsent,1,,auto,full
      N7KH1A,Eth10/5,sfpAbsent,1,,auto,full
      N7KH1A,Eth10/6,sfpAbsent,1,,auto,full
      N7KH1A,Eth10/7,sfpAbsent,1,,auto,full
      N7KH1A,Eth10/8,sfpAbsent,1,,auto,full
      N7KH1A,Eth10/9,connected,trunk,To-N7KM552A,10G,full
      N7KH1A,Eth10/10,connected,routed,To-N7KM552A-L3,10G,full
      N7KH1A,Eth10/10.2005 To-N7KM552A-L3-VOI,connected,routed,,10G,full
      N7KH1A,Eth10/10.2007 To-N7KM552A-L3-DEF,connected,routed,,10G,full
      N7KH1A,Eth10/10.2022 To-N7KM552A-L3-CSL,connected,routed,,10G,full
      Problem with switchstatus in V1.12.1

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/netdbtracking/discussion/939989/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • Jonathan Yantis

    Jonathan Yantis - 2013-11-15

    Michael,

    You should be able to do an svn update and pull the latest nxosscraper which should have be fixed for sub-interfaces. Please save your old copy in case there is still a problem, but I think it should be fixed.

    Jonathan

     

Log in to post a comment.