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

Data Collection Retries not really Retries

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.2.8
    • None
    • Data Output - RRD
    • Security Level: Default (Default Security Scheme)
    • Operating System: All
      Platform: All
    • 1577

    Description

      SNMP is UDP based, and a number of factors can cause an SNMP request to get lost
      (network congestion, busy agent, etc.)

      It appears that the SnmpCollector doesn't actually do retries:

      synchronized (handler) {
      session.send(out, handler);

      try

      { handler.wait((long) ((peer.getRetries() + 1) * peer.getTimeout())); }

      catch (InterruptedException e)

      { Thread.currentThread().interrupt(); }

      }

      Instead it just waits longer for a response. I could be wrong on this.

      If I'm right, I think we should actually retry the request instead of just
      waiting longer. I will test this in unstable as well.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tarus Tarus Balog
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: