snmpwalk timeout

Feroz <[email protected]> Thu, 5 May 2022 12:41:24 +0530
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <CA+ZN1cd4XnBwzrauCKMhWcEC791ya4Jwz_+psGD8pCP9v+SG=w@mail.gmail.com>
Hi,
We are using net-snmp 5.8.
We have Agent-SubAgent model.

For a given MIB, our container_load function takes 2 seconds, but still the
snmpwalk (v2) command times out with default values (5 retries with 1 sec
delay between each retry).

My question is, why does it time out, though the container_load function
returns the data in 2sec, we still have another 4 seconds.
We should have got the response in the 3rd to 5th retry.

If I increase the timeout value in snmpwalk command with "-t 3", it works
fine.
-- 
Regards,
Feroz Ahmed

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders