Data Collection Retries not really Retries

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.

Environment

Operating System: All Platform: All

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Seth Leger July 10, 2015 at 10:51 AM

This is still an issue. The code is now in SnmpSession.java:

Ronny Trommer July 9, 2015 at 7:58 PM

Too old, reopen if this issue still exist.

Benjamin Reed October 6, 2008 at 11:52 AM

moving to 1.6.1 target milestone; only things left pending for 1.6.0 are blocker-level bugs

Fixed

Details

Assignee

Reporter

Labels

HB Grooming Date

Components

Affects versions

Priority

PagerDuty

Created September 7, 2006 at 1:12 PM
Updated November 1, 2021 at 7:29 PM
Resolved November 1, 2021 at 7:23 PM