[Nagiosplug-help] maximum stdout from a plugin
    Subhendu Ghosh 
    sghosh at sghosh.org
       
    Thu Feb  5 14:07:09 CET 2004
    
    
  
On Wed, 28 Jan 2004, Rudi Heitbaum wrote:
> I have had a problem with a plugin that I have been working on with Return
> code of 141 is out of bounds.
> 
> Is there a miximum limit that the first line can be?
> 
> I have limited it to 253 characters as a quick workaround, and now I don't
> get the out of bound error.
> 
nagios/common/objects.h
MAX_PLUGINOUTPUT_LENGTH 352  
You can adjust this if you know atomic message size can be larger in a 
pipe in your OS.  Solaris can have larger, Linux cannot...
-- 
-sg
    
    
More information about the Help
mailing list