[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 |
||
| 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; 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. |