Menu

force10 data NULL

Help
2015-08-07
2015-08-18
  • Jason Goldman

    Jason Goldman - 2015-08-07

    I have a recently upgraded (from v1.8) v1.13 NetDB install and I am trying to grab data from a Force10 switch I just inherited. The force10 scraper seems to grab the data but when I query from the GUI, I do not see the switch or data. Looking in the database, I see this (abbreviated):

    mysql> select * from switchports where switch='core-1';
    +--------+--------+----------------+------+--------+-------------+-------------+---------+---------+-----------+---------------------+---------------------+
    | switch | port | mac | type | s_vlan | s_ip | s_name | s_speed | minutes | uptime | firstseen | lastseen |
    +--------+--------+----------------+------+--------+-------------+-------------+---------+---------+-----------+---------------------+---------------------+
    | core-1 | Gi0/0 | 0017.c510.xxxx | | 601 | NULL | NULL | NULL | 720 | 12.0hours | 2015-08-06 15:04:09 | 2015-08-07 09:34:02 |
    | core-1 | Gi0/0 | 0217.c510.xxxx | | 601 | NULL | NULL | NULL | 1755 | 1.2days | 2015-08-06 15:04:09 | 2015-08-07 09:34:02 |
    | core-1 | Gi0/10 | 0050.56bf.xxxx | | 110 | NULL | NULL | NULL | 1125 | 18.8hours | 2015-08-06 15:04:09 | 2015-08-07 09:34:02 |
    | core-1 | Gi0/10 | 0050.56bf.xxxx | | 110 | NULL | NULL | NULL | 1125 | 18.8hours | 2015-08-06 15:04:09 | 2015-08-07 09:34:02 |
    | core-1 | Gi0/10 | 0050.56bf.xxxx | | 110 | NULL | NULL | NULL | 1125 | 18.8hours | 2015-08-06 15:04:09 | 2015-08-07 09:34:02 |

     
    • Jonathan Yantis

      Jonathan Yantis - 2015-08-10

      Jason,

      Do you get any results from the command line? netdb -sw core-1? How does
      your interface status info look? I have a feeling that's what's missing:

      select * from switchstatus where switch='core-1';

      If that's missing, check the /opt/data/intstatus.txt file for core-1 data.
      If it's missing, we'll need to tweak the scraper. I don't know how many
      people are using the force10 scraper, it likely needs tweaking for this
      model switch.

      Jonathan

      On Fri, Aug 7, 2015 at 9:49 AM, Jason Goldman jasonmgoldman@users.sf.net
      wrote:

      I have a recently upgraded (from v1.8) v1.13 NetDB install and I am trying
      to grab data from a Force10 switch I just inherited. The force10 scraper
      seems to grab the data but when I query from the GUI, I do not see the
      switch or data. Looking in the database, I see this (abbreviated):

      mysql> select * from switchports where switch='core-1';

      +--------+--------+----------------+------+--------+-------------+-------------+---------+---------+-----------+---------------------+---------------------+
      | switch | port | mac | type | s_vlan | s_ip | s_name | s_speed | minutes
      | uptime | firstseen | lastseen |

      +--------+--------+----------------+------+--------+-------------+-------------+---------+---------+-----------+---------------------+---------------------+
      | core-1 | Gi0/0 | 0017.c510.xxxx | | 601 | NULL | NULL | NULL | 720 |
      12.0hours | 2015-08-06 15:04:09 | 2015-08-07 09:34:02 |
      | core-1 | Gi0/0 | 0217.c510.xxxx | | 601 | NULL | NULL | NULL | 1755 |
      1.2days | 2015-08-06 15:04:09 | 2015-08-07 09:34:02 |
      | core-1 | Gi0/10 | 0050.56bf.xxxx | | 110 | NULL | NULL | NULL | 1125 |
      18.8hours | 2015-08-06 15:04:09 | 2015-08-07 09:34:02 |
      | core-1 | Gi0/10 | 0050.56bf.xxxx | | 110 | NULL | NULL | NULL | 1125 |
      18.8hours | 2015-08-06 15:04:09 | 2015-08-07 09:34:02 |
      | core-1 | Gi0/10 | 0050.56bf.xxxx | | 110 | NULL | NULL | NULL | 1125 |
      18.8hours | 2015-08-06 15:04:09 | 2015-08-07 09:34:02 |


      force10 data NULL
      https://sourceforge.net/p/netdbtracking/discussion/939989/thread/692b8368/?limit=25#0695


      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/

       
      • Jason Goldman

        Jason Goldman - 2015-08-10

        Do you get any results from the command line? netdb -sw core-1? How does
        your interface status info look? I have a feeling that's what's missing:

        select * from switchstatus where switch='core-1';

        If that's missing, check the /opt/data/intstatus.txt file for core-1 data.
        If it's missing, we'll need to tweak the scraper. I don't know how many
        people are using the force10 scraper, it likely needs tweaking for this
        model switch.

        First, thanks for your help and a great product!

        netdb -sw core-1 returns nothing.

        mysql> use netdb;
        Database changed
        mysql> select * from switchstatus where switch='core-1';
        Empty set (0.00 sec)

        I do have entries for core-1 in intstatus.txt. Sample below:

        core-1,Gi0/0,connected,,Sonicwall-f,Up,
        core-1,Gi0/1,notconnect,,,Down,
        core-1,Gi0/2,notconnect,,,Down,
        core-1,Gi0/3,notconnect,,,Down,
        core-1,Gi0/4,connected,,,Up,
        core-1,Gi0/5,connected,,,Up,

        Attached is a Level 6 debug of the force10 scraper against the switch core-1

         

        Last edit: Jason Goldman 2015-08-10
        • Jonathan Yantis

          Jonathan Yantis - 2015-08-10

          Glad you like it. Looks like it's missing the vlan ID/trunk status. Someone
          else wrote that script but I should be able to fix it up. Can you send me a
          chunk of the "show interface status" results? Hopefully it should be a
          quick fix.

          Thanks

          On Mon, Aug 10, 2015 at 9:57 AM, Jason Goldman jasonmgoldman@users.sf.net
          wrote:

          Do you get any results from the command line? netdb -sw core-1? How does
          your interface status info look? I have a feeling that's what's missing:

          select * from switchstatus where switch='core-1';

          If that's missing, check the /opt/data/intstatus.txt file for core-1 data.
          If it's missing, we'll need to tweak the scraper. I don't know how many
          people are using the force10 scraper, it likely needs tweaking for this
          model switch.

          First, thanks for your help and a great product!

          netdb -sw core-1 returns nothing.

          mysql> use netdb;
          Database changed
          mysql> select * from switchstatus where switch='core-1';
          Empty set (0.00 sec)

          I do have entries for core-1 in intstatus.txt. Sample below:

          core-1,Gi0/0,connected,,Sonicwall-f,Up,
          core-1,Gi0/1,notconnect,,,Down,
          core-1,Gi0/2,notconnect,,,Down,
          core-1,Gi0/3,notconnect,,,Down,
          core-1,Gi0/4,connected,,,Up,
          core-1,Gi0/5,connected,,,Up,


          force10 data NULL
          https://sourceforge.net/p/netdbtracking/discussion/939989/thread/692b8368/?limit=25#0695/24aa/4cd5


          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/

           
  • Jason Goldman

    Jason Goldman - 2015-08-14

    Success! Thanks again for a great product!

     

Log in to post a comment.