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

linkd not working

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.9.93
    • Component/s: Enhanced Linkd / Linkd
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: Sun
    • Bugzilla Id:
      3969

      Description

      1. i tried different versions including the latest 1.8.1-SNAPSHOT-12072010
      2. enabled linkd function inside "service-configuration.xml"
      <service>
      <name>OpenNMS:Name=Linkd</name>
      <class-name>org.opennms.netmgt.linkd.jmx.Linkd</class-name>
      <invoke at="start" pass="0" method="init"/>
      <invoke at="start" pass="1" method="start"/>
      <invoke at="status" pass="0" method="status"/>
      <invoke at="stop" pass="0" method="stop"/>
      </service>

      3. link.log only reports UPDATE queries, no INSERTS

      2010-07-13 12:34:29,466 DEBUG [LinkdScheduler-5 Pool-fiber1] DbAtInterfaceEntry: AtInterfaceEntry.update: SQL insert statment = UPDATE AtInterface SET sourcenodeid = ?,lastpolltime = ? WHERE nodeid = ? AND ipaddr = ?
      2010-07-13 12:34:29,503 DEBUG [LinkdScheduler-5 Pool-fiber1] DbIpRouteInterfaceEntry: IpRouteInterfaceEntry.update: SQL insert statment = UPDATE IpRouteInterface SET lastpolltime = ? WHERE nodeid = ? AND routeDest = ?
      2010-07-13 12:34:29,515 DEBUG [LinkdScheduler-5 Pool-fiber1] DbIpRouteInterfaceEntry: IpRouteInterfaceEntry.update: SQL insert statment = UPDATE IpRouteInterface SET lastpolltime = ? WHERE nodeid = ? AND routeDest = ?
      2010-07-13 12:34:29,533 DEBUG [LinkdScheduler-5 Pool-fiber1] DbEventWriter: store: SQL statement UPDATE atinterface set status = 'N' WHERE sourcenodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=47.
      2010-07-13 12:34:29,534 DEBUG [LinkdScheduler-5 Pool-fiber1] DbEventWriter: store: SQL statement UPDATE vlan set status = 'N' WHERE nodeid =? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=47.
      2010-07-13 12:34:29,538 DEBUG [LinkdScheduler-5 Pool-fiber1] DbEventWriter: store: SQL statement UPDATE iprouteinterface set status = 'N' WHERE nodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=47.
      2010-07-13 12:34:29,539 DEBUG [LinkdScheduler-5 Pool-fiber1] DbEventWriter: store: SQL statement UPDATE stpnode set status = 'N' WHERE nodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=47.
      2010-07-13 12:34:29,539 DEBUG [LinkdScheduler-5 Pool-fiber1] DbEventWriter: store: SQL statement UPDATE stpinterface set status = 'N' WHERE nodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=47.
      2010-07-13 12:34:29,717 DEBUG [LinkdScheduler-5 Pool-fiber0] DbAtInterfaceEntry: AtInterfaceEntry.update: SQL insert statment = UPDATE AtInterface SET sourcenodeid = ?,lastpolltime = ? WHERE nodeid = ? AND ipaddr = ?
      2010-07-13 12:34:29,725 DEBUG [LinkdScheduler-5 Pool-fiber0] DbIpRouteInterfaceEntry: IpRouteInterfaceEntry.update: SQL insert statment = UPDATE IpRouteInterface SET lastpolltime = ? WHERE nodeid = ? AND routeDest = ?
      2010-07-13 12:34:29,729 DEBUG [LinkdScheduler-5 Pool-fiber0] DbIpRouteInterfaceEntry: IpRouteInterfaceEntry.update: SQL insert statment = UPDATE IpRouteInterface SET lastpolltime = ? WHERE nodeid = ? AND routeDest = ?
      2010-07-13 12:34:29,764 DEBUG [LinkdScheduler-5 Pool-fiber0] DbEventWriter: store: SQL statement UPDATE atinterface set status = 'N' WHERE sourcenodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=46.
      2010-07-13 12:34:29,765 DEBUG [LinkdScheduler-5 Pool-fiber0] DbEventWriter: store: SQL statement UPDATE vlan set status = 'N' WHERE nodeid =? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=46.
      2010-07-13 12:34:29,769 DEBUG [LinkdScheduler-5 Pool-fiber0] DbEventWriter: store: SQL statement UPDATE iprouteinterface set status = 'N' WHERE nodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=46.
      2010-07-13 12:34:29,769 DEBUG [LinkdScheduler-5 Pool-fiber0] DbEventWriter: store: SQL statement UPDATE stpnode set status = 'N' WHERE nodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=46.
      2010-07-13 12:34:29,770 DEBUG [LinkdScheduler-5 Pool-fiber0] DbEventWriter: store: SQL statement UPDATE stpinterface set status = 'N' WHERE nodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=46.
      2010-07-13 12:34:30,985 DEBUG [LinkdScheduler-5 Pool-fiber1] DbAtInterfaceEntry: AtInterfaceEntry.update: SQL insert statment = UPDATE AtInterface SET sourcenodeid = ?,lastpolltime = ? WHERE nodeid = ? AND ipaddr = ?
      2010-07-13 12:34:31,000 DEBUG [LinkdScheduler-5 Pool-fiber1] DbIpRouteInterfaceEntry: IpRouteInterfaceEntry.update: SQL insert statment = UPDATE IpRouteInterface SET lastpolltime = ? WHERE nodeid = ? AND routeDest = ?
      2010-07-13 12:34:31,017 DEBUG [LinkdScheduler-5 Pool-fiber1] DbIpRouteInterfaceEntry: IpRouteInterfaceEntry.update: SQL insert statment = UPDATE IpRouteInterface SET lastpolltime = ? WHERE nodeid = ? AND routeDest = ?
      2010-07-13 12:34:31,050 DEBUG [LinkdScheduler-5 Pool-fiber1] DbEventWriter: store: SQL statement UPDATE atinterface set status = 'N' WHERE sourcenodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=44.
      2010-07-13 12:34:31,051 DEBUG [LinkdScheduler-5 Pool-fiber1] DbEventWriter: store: SQL statement UPDATE vlan set status = 'N' WHERE nodeid =? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=44.
      2010-07-13 12:34:31,055 DEBUG [LinkdScheduler-5 Pool-fiber1] DbEventWriter: store: SQL statement UPDATE iprouteinterface set status = 'N' WHERE nodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=44.
      2010-07-13 12:34:31,055 DEBUG [LinkdScheduler-5 Pool-fiber1] DbEventWriter: store: SQL statement UPDATE stpnode set status = 'N' WHERE nodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=44.
      2010-07-13 12:34:31,055 DEBUG [LinkdScheduler-5 Pool-fiber1] DbEventWriter: store: SQL statement UPDATE stpinterface set status = 'N' WHERE nodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=44.
      2010-07-13 12:34:31,893 DEBUG [LinkdScheduler-5 Pool-fiber0] DbAtInterfaceEntry: AtInterfaceEntry.update: SQL insert statment = UPDATE AtInterface SET sourcenodeid = ?,lastpolltime = ? WHERE nodeid = ? AND ipaddr = ?
      2010-07-13 12:34:31,923 DEBUG [LinkdScheduler-5 Pool-fiber0] DbIpRouteInterfaceEntry: IpRouteInterfaceEntry.update: SQL insert statment = UPDATE IpRouteInterface SET lastpolltime = ? WHERE nodeid = ? AND routeDest = ?
      2010-07-13 12:34:31,925 DEBUG [LinkdScheduler-5 Pool-fiber0] DbIpRouteInterfaceEntry: IpRouteInterfaceEntry.update: SQL insert statment = UPDATE IpRouteInterface SET lastpolltime = ? WHERE nodeid = ? AND routeDest = ?
      2010-07-13 12:34:31,942 DEBUG [LinkdScheduler-5 Pool-fiber0] DbEventWriter: store: SQL statement UPDATE atinterface set status = 'N' WHERE sourcenodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=46.
      2010-07-13 12:34:31,942 DEBUG [LinkdScheduler-5 Pool-fiber0] DbEventWriter: store: SQL statement UPDATE vlan set status = 'N' WHERE nodeid =? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=46.
      2010-07-13 12:34:31,946 DEBUG [LinkdScheduler-5 Pool-fiber0] DbEventWriter: store: SQL statement UPDATE iprouteinterface set status = 'N' WHERE nodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=46.
      2010-07-13 12:34:31,947 DEBUG [LinkdScheduler-5 Pool-fiber0] DbEventWriter: store: SQL statement UPDATE stpnode set status = 'N' WHERE nodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=46.
      2010-07-13 12:34:31,947 DEBUG [LinkdScheduler-5 Pool-fiber0] DbEventWriter: store: SQL statement UPDATE stpinterface set status = 'N' WHERE nodeid = ? AND lastpolltime < ? AND status = 'A'. 0 rows UPDATED for nodeid=46.

      4. this has already been reported in bugreports 3871 or 3904

      5. if i can/need to help or provide more info please email me.

        Attachments

        1. 10.1.1.2-walk.txt.gz
          5 kB
        2. 10.1.2.2-walk.txt.gz
          4 kB
        3. 10.1.3.2-walk.txt.gz
          5 kB
        4. 10.1.4.2-walk.txt.gz
          4 kB
        5. cisco_C2960-LANBASE-M.txt
          37 kB
        6. cisco_CE500-LANBASEK9-M.txt
          0.6 kB
        7. link.log.gz
          9 kB
        8. link.log-ah-2011-10-10.gz
          4 kB
        9. linkd-configuration.xml
          7 kB
        10. onmstest.png
          onmstest.png
          26 kB

          Issue Links

            Activity

              People

              • Assignee:
                seth Seth Leger
                Reporter:
                admin@out-side.nl RoelMM
              • Votes:
                7 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: