Re: snmpbulkget retrieves wrong amount of items

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 22/09/2007, Andy Vega <[email protected]> wrote:
> When I run snmpbulkget -Cr48 it only retrieves 43 items:

That's quite possible.
GETBULK sends a single request that should return
*up to* 48 repetitions of the specified OID.   The agent
is perfectly free to return less than this number of values.
For example, if the full list would be too big or take too
long to calculate.


>           If I walk the same object, I get all 52 items.

An snmpwalk command will send multiple requests
until it receives all of the specified tree.
   I suspect that if you tried "snmpbulkwalk" with
max-repeaters=48,  and turned on packet dumps
to watch the traffic, then you'd probably see two
request/response pairs - not just the one.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.