Re: [Nagios-devel] MAX_PLUGINOUTPUT_LENGTH

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] MAX_PLUGINOUTPUT_LENGTH

Post by Guest »

> > I would like to know what do I risk if I recompile nagios with a greater
> > value than 352 for MAX_PLUGINOUTPUT_LENGTH ?
>
> The result is platform specific. 352 is the lowest common denominator for
> maximum pipe buffer size. Using larger values can cause data from
> different plugins to be interleaved - and then none of the data would be
> understood...

On Solaris, you can safely bump this up, as it uses 5120-byte atomic reads
and writes to named pipes, as opposed to Linux's 512-byte atomic
operations on named pipes.

>
> --
>
> -sg
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>

---
Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada.

From a Sun Microsystems bug report (#4102680):
"Workaround: don't pound on the mouse like a wild monkey."

"I have great faith in fools:
Self confidence my friends call it." -Edgar Allan Poe







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked