I have played with your suggestion by querying a different set of OIDs 
and I am starting to think it might a limit not on the response size or 
the number of OIDs, but on the size of the inbound UDP packet.

So sometimes our device returned a response to 28 OIDs and failed on 29 
OIDs, and sometimes it returned a response to 29 OIDs and failed on 30.

However, it was consistently returning responses when snmpget was 
sending packets up to 484 bytes and not returning responses to requests 
at least 485 bytes in size.

Aleksandrs

On 11/16/2013 12:09 AM, "Fredrik Björk" wrote:
> Hi!
>
> What if you replace "head -29 walk.txt" with "head -100 walk.txt | tail
> -29" to get another set of OIDs? Still 29 OK not 30? In that case, it's
> definitely D-link just supporting 29 OIDs just because they didn't feel
> more was required.
>
> /Fredrik
>
> PS dd-wrt on a WRT-54GL returns 128 variables upon request - that's REAL
> software! /DS
>
>> Good morning,
>>
>> We have some SNMP devices that do not respond to queries where the
>> number of OIDs is over a certain limit. That is, they do respond to
>> queries with N OIDs in the request, but return no response to queries
>> with N+1 and more OIDs.
> ...
>> $ head -29 walk.txt | cut -d' ' -f1 | xargs snmpget -d -r 0 -v 2c -c
>> public 192.168.1.1
>
>
>

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to