This is a discussion on timeout exponentially backoff ? within the SNMP Users forums, part of the Networking and Network Related category; i use net-snmp-5.2.1. i found follwing lines in file "snmp_api.h": struct snmp_session { /* * Protocol-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
i use net-snmp-5.2.1. i found follwing lines in file "snmp_api.h":
struct snmp_session { /* * Protocol-version independent fields */ /** snmp version */ long version; /** Number of retries before timeout. */ int retries; /** Number of uS until first timeout, then exponential backoff */ long timeout; ... it seems that timeout will exponentially backoff, but when i snoop the packets of timeout snmpget,it seems it's not the case: snmpget -v1 -cwrongcomm 192.168.0.155 sysName.0 snoop -ta 'port 161 and 192.168.0.155' the packets snooped: 17:31:13.34230 192.168.0.219 -> 192.168.0.155 UDP D=161 S=42494 LEN=54 17:31:14.35042 192.168.0.219 -> 192.168.0.155 UDP D=161 S=42494 LEN=54 17:31:15.36033 192.168.0.219 -> 192.168.0.155 UDP D=161 S=42494 LEN=54 17:31:16.37032 192.168.0.219 -> 192.168.0.155 UDP D=161 S=42494 LEN=54 17:31:17.38036 192.168.0.219 -> 192.168.0.155 UDP D=161 S=42494 LEN=54 17:31:18.39037 192.168.0.219 -> 192.168.0.155 UDP D=161 S=42494 LEN=54 it retried the default 5 times, and the each interval is almost the default 1 second. timeout really exponentially backoff ? ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |