Re: returning multi-line string via pass through

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 14 March 2010 20:02, Christopher Fitzner <[email protected]> wrote:
> I was wondering if anyone knows if it's possible to send a multiline
> string back from an snmp pass through script.

No - it's explicitly defined in the manpage,
and coded to return a single line.

If you want to try changing this, look in the file mibgroup/ucd-snmp/pass.c
around line 412   ("zap the linefeed")

Dave

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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.