[SNMP-3] allow changes to timeout and retries Created: 01/Jul/15  Updated: 10/Jul/15

Status: In Progress
Project: snmp
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Jon Rosenberger Assignee: Jon Rosenberger
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 3922
Priority: Normal

 Description   

Currently the timeout and retries are hard-coded in an inaccessible variable in SNMPImpl.java

static final int RETRIES = 1;
static final int TIMEOUT = 500;

changing these would require subclassing SNMPImpl

Pending a more formal configuration mechanism, perhaps these could be made public static (non-final) so they can at least be altered globally?

We're experiencing fairly regular connection timeouts when performing GETBULK on our particular machines. We do not experience this issue nearly as often (it does happen though) with the command-line snmpwalk from net-snmp 2.6, which for reference, has default RETRIES = 5 and TIMEOUT = 1000.


Generated at Wed Feb 07 20:39:10 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.