Re: snmpwalk timeout

Wes Hardaker via Net-snmp-coders <[email protected]> Wed, 11 May 2022 16:13:33 -0700
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <[email protected]>
Feroz <[email protected]> writes:

> 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).

The others have stated this already, but one additional point: it's not
just the port and address that snmpwalk is looking for.  There is also
the SNMP packets also contain a request-id that is not duplicated in the
retries.  So each request will look new and will be processed as if new
even though the ports and addresses themselves may be the same.

[Caching, as others have said, will help]
-- 
Wes Hardaker
Please mail all replies to [email protected]