Uploaded image for project: 'snmp'
  1. snmp
  2. SNMP-3

allow changes to timeout and retries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • unspecified
    • General
    • None
    • Operating System: All
      Platform: All

    • 3922
    • Normal

      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.

            jon@ivydesign.com Jon Rosenberger
            jon@ivydesign.com Jon Rosenberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: