Re: truncated response from poll

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Wed, 2005-10-05 at 09:41 +1000, Dean wrote:
> Thank you for the response. Using extend causes snmpd to return the full
> list of packages (or versions) as one big string. The good news is; it's
> returning the complete list at least.

Note that there are two tables for reporting "extend" output.
I presume you're currently looking at nsExtendOutputFull (in
the nsExtendOutput1Table) which does indeed contain the full
output as a single string.
  It might be worth investigating nsExtendOutput2Table which
reports the same output, but as a series of individual lines.


> I still wonder (with 'exec') whether it simply is hitting
> some kind of threshold.

There is a fixed 1K buffer in the "exec" implementation,
which limits the size of output.   The intention is to
phase this code out, in favour of the "extend" equivalent.

This will also support the UCD-SNMP-MIB::extTable (for
backwards compatability) - but "relocated" extensions
(specifying an explicit root OID) would use the new style
of output.   Not least because the old form is not actually
a legal MIB structure!

Dave


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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.