Re: SNMP request size

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
>>>>> On Wed, 16 Mar 2011 18:17:02 +0800, [email protected] said:

r> Is it possible to check the SNMP GET request packet size and split the
r> request to an acceptable size before it gets sent?

r> I'm currently sending the request using VarList but the request dies
r> when the packet length exceeds the transport maximum.

r> Any inputs to get around this limitation is highly appreciated.

It's something that you're only going to be able to do on your side.
It's sort of impossible to do generically.  You can try and estimate the
number of requests you can put in a GET packet and that should be
somewhat estimatable.

However, trying to determine the size of the RESPONSE that comes back
will be significantly trickier.  Consider the sysLocation.0 scaler, for
example, which someone could configure a device to report

  "nowhere"

vs

  "We're located on the 5th floor of the computer science building at 1600
  Alberta street in northern Alberta, which is obviously in Canada, which
  is hopefully obviously in north America".

Both are unfortunately legal answers that will greatly affect the size of
the returned packet.  You won't know it's size until you query it.
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
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.