Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-3913

linkd not showing links between nodes and cisco switches



    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 14.0.0
    • Enhanced Linkd / Linkd
    • Security Level: Default (Default Security Scheme)
    • None
    • Operating System: Linux
      Platform: PC
    • 3871


      I enabled the linkd daemon within opennms and the simple test was adding opennms box and the cisco switch with snmp and wait unitil the links show up in the node link detail but that does not happen.

      When i manually snmpwalk the switch i can grep on mac and ip adres and they are both there but no links within opennms.

      i'm a bit lost because it should just work as i have read on the wiki page.
      My cisco is an 1.324 and has ip adres and my nms box has

      With kind regards
      William van de Velde

      My linkd config:
      <?xml version="1.0" encoding="ISO-8859-1"?>
      <linkd-configuration threads="5" initial_sleep_time="360000"
      snmp_poll_interval="1800000" discovery_link_interval="30000">


      Here is a list of sys oids and corresponding classes to get
      SNMP vlan info from nodes.
      Verify that your switch devices sys oids are in the following lists
      if you want to get informations on Vlans!
      Put your own sys oids in the proper vendor tag and specify sys oid
      using <specific> and <include-range> tags



      <vendor vendor_name="3Com" sysoidRootMask="."

      <vendor vendor_name="3Com3870" sysoidRootMask="."

      <vendor vendor_name="Nortel" sysoidRootMask="."

      <vendor vendor_name="Intel" sysoidRootMask="."

      <vendor vendor_name="HP Networks" sysoidRootMask="."
      <include-range begin="11.6" end="11.11"/>

      <vendor vendor_name="cisco" sysoidRootMask="."

      <vendor vendor_name="Extreme Networks" sysoidRootMask="."


      It's possible in packages to overwrite all properties - (thread and initial_sleep_time)
      in the linkd-configuration

      <package name="LAN" use-bridge-discovery="false" use-ip-route-discovery="false" enable-vlan-discovery="true" use-cdp-discovery="true" save-stp-interface-table="true" save-stp-node-table="true" save-route-table="true" >
      <filter>IPADDR != ''</filter>
      <include-range begin="" end=""/>
      <package name="LAN2" use-bridge-discovery="false" use-ip-route-discovery="true" save-route-table="true" >
      <filter>IPADDR != ''</filter>
      <include-range begin="" end=""/>
      <package name="LINUX-ETHERNET-ROUTERS-LAN" force-ip-route-discovery-on-ethernet="true">
      <filter>IPADDR != ''</filter>
      <include-range begin="" end=""/>

      <!-- Use more packages with huge network-->

      <!-- here is a configuration that is valid on ethernet LANs -->
      <package name="LAN" use-ip-route-discovery="false">
      <filter>IPADDR != ''</filter>
      <include-range begin="" end=""/>

      <!-- here is a configuration valid on WAN where linkd try to get
      links using cisco discovery protolol first and then routers ip route tables -->
      <package name="WAN" use-bridge-discovery="false">
      <filter>IPADDR != ''</filter>
      <include-range begin="" end=""/>
      <!-- here is a configuration in which you have to find links when using cross ethernet cables
      among router. Linkd by default finds links on LAN using bridge forwarding table becouse it
      guess that the node is linked to a switch port. By the way there are situations in which
      you can have some routers connected via cross ethernet cables. So this is a way to find that links.
      <package name="LINUX-ETHERNET-ROUTERS" force-ip-route-discovery-on-ethernet="true">
      <filter>IPADDR != ''</filter>
      <include-range begin="" end=""/>
      <!-- do you want that linkd send a new suspect event for each ip address found on devices? -->
      <package name="AUTODISCOVERY" auto-discovery="true">
      <filter>IPADDR != ''</filter>
      <include-range begin="" end=""/>



        1. atinterface.1230
          1.0 kB
        2. cc-4900m-1-141_walk.out
          270 kB
        3. cc-c2651xm-1_walk.out
          110 kB
        4. cc-c2811-eq_walk.out
          345 kB
        5. cc-c2821-ny-1_walk.out
          979 kB
        6. cc-c3550-dmz_walk.out
          126 kB
        7. cc-c3560-eq-1_walk.out
          264 kB
        8. cc-c3750stack_walk.out
          893 kB
        9. cc-dl1228-dmz_walk.out
          379 kB
        10. cc-mgmt1-ny_walk.out
          27 kB
        11. datalinkinterface.1230
          0.7 kB
        12. link.log
          83 kB
        13. sentry_walk.out
          559 kB
        14. snmpinterface.1230
          0.7 kB
        15. snmpwalk.1230
          7 kB
        16. src-linkd.patch
          5 kB

        Issue Links



              rssntn67 Antonio Russo
              kc@cobradevil.org William (Inactive)
              3 Vote for this issue
              6 Start watching this issue