MAX_PLUGINOUTPUT_LENGTH

Jason Marshall jasonm at kelman.com
Wed Aug 27 16:33:40 CEST 2003


> > 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
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-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 sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Developers mailing list