On May 5, 2009, at 4:35 AM, Simon Kainz wrote:

> But in the logfiles I see that nagios cuts the plugin output after  
> "Fan
> 5B is at". This leads to NO perfdata. So, what is the maximum length  
> of
> plugin output Nagios is able to handle ?

I'm going to guess that you're using nagios-2?

[nagios-2-src/include]$ grep MAX_PLUGIN *

objects.h:#define MAX_PLUGINOUTPUT_LENGTH                       348     /* max. 
length of  
plugin output */

I expect that you can probably increase the value above within  
reasonable limits (say 1024 or less) and recompile with no detriment  
but YMMV.

According to What's New for nagios-3, this has been increased to 4K  
along with support for multi-line plugin output.

--
Marc


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to