Antwort: Re: Antwort: Re: NSCA and long output
Thomas Borger
Thomas.Borger at esg.de
Thu May 29 07:23:53 CEST 2008
> > check the value in nagios source code (include/nagios.h) too.
> > It muste be at least the same or higher.
> A value of 4096 will likely work well in Linux as pipes guarantee that
> this many bytes can be written at once in that OS. POSIX requires 512
> bytes so this may vary between operating systems (PIPE_BUF should tell
> you what the limit is).
> Anything larger will likely cause fragments to be lost and/or
> interleaved (the latter can happen if you have multiple writers at the
> same time). See pipe(7) for more details.
> The proper fix would bu using PROCESS_FILE instead to load long output.
Hi Thomas,
thank you for this valuable hint. I will test my setup in the next days,
how it's behaviour is, if i send some long input with NSCA to the
NSCA-Daemon on nagios
server at the same time.
best regards
Thomas
-------------------------------------------------------------------------
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