The "exec" config directive starts external programs
and returns their output in consecutive OIDs line by line.
Actual behavior:
The output is truncated after 1023 bytes.
Desired behavior:
Send full output.
Version V5.2.1.2
This bug is related to
- Bug #936483: exec extension doesn't return all output
- an EMail from me from October 2004:
http://sourceforge.net/mailarchive/message.php?msg_id=9803973
- Patch #1052460: 5.2-p01: agent deadlock on exec
It seems this problem occured several times, was
patched and then was re-activated through other bugs.
Logged In: YES
user_id=88893
The multi-line version of "exec" actually produces invalid
SNMP output, and is being deprecated. Please try the
replacement "extend" directive, which works in basically
the same way, but produced validly formatted output.
This also handles longer output, as required.