Discussion:
SNMP GetBulk Max PDU size with Max repetitions
Malathi Panyam
2010-05-20 20:30:17 UTC
Permalink
Hi,
    What is the MAX value Max repetitions for GetBulk requests? I tried to increase beyond 100 and it resets to 100. It means we cannot go beyond 100? I am aware that this is linked to that MAx PDU size, is there anyway that we can increase this limit?

Thanks and Regards,
Malathi
Dave Shield
2010-05-21 07:37:59 UTC
Permalink
Post by Malathi Panyam
    What is the MAX value Max repetitions for GetBulk requests?
In terms of the SNMP protocol - none.
In terms of the Net-SNMP client tools - none
Post by Malathi Panyam
I tried to increase beyond 100 and it resets to 100.
That's a limit imposed by the Net-SNMP agent,
to try and avoid excessive processing that may well result
in too large a response to be returned.
Post by Malathi Panyam
is there anyway that we can increase this limit?
$ man snmpd.conf

maxGetbulkRepeats NUM
Sets the maximum number of responses allowed for a
single variable in a getbulk request.
Set to 0 to enable the default and set it to -1 to
enable unlimited. Because memory is
allocated ahead of time, sitting this to unlimited is
not considered safe if your user
population can not be trusted.
A repeat number greater than this will be truncated to this value.

Dave

Loading...