NSCA and long output

Mike Hamrick mikeh at bluegecko.net
Wed May 28 03:14:42 CEST 2008


Hi Aaron,

You wrote:
> I've been trying to figure out if this is possible for a while. I'm
> using NRPE and $LONGHOSTOUTPUT$ for a number of tests, which is great,
> except for passive monitoring. We have several data centers that run
> their own Nagios boxes and then ship the data back to the master  
> Nagios
> server via NSCA. The problem is that I can't get NSCA to utilize the
> $LONGHOSTOUTPUT$ - this is kind of critical for things like log file
> checks, etc. With NSCA this data doesn't get passed.

Looking at the NSCA sources, common.h has:

#define MAX_PLUGINOUTPUT_LENGTH       512

I'm guessing that's the issue right there.  The first thing I'd try is  
to bump that up to 4096, and recompile send_nsca and nsca.  I haven't  
looked very carefully at the source or tried this myself, but it seems  
like a good place to start.

Mike




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list