512 byte limit on PROCESS STATUS output?

Brian E. Seppanen seppy at chartermi.net
Wed Jun 9 21:27:43 CEST 2004


On Tue, 8 Jun 2004, Christopher Bergeron wrote:

> Is there a configuration option for changing the 512 byte limit that 
> nsca returns to nagios?  I'm not sure if the limitation is on the 
> nsca_send command or the nagios receiver.
> 
> Any hints or leads are greatly appreciated.


My earlier response was a bit quick and i neglected to mention that there 
are two places at the very least and possibly more that need to be 
modified in common/common.h.   Obviously the INPUT_BUFFER should probably 
be over and above PLUGINOUTPUT_LENGTH, but sometimes I'm retarded :p

#define MAX_INPUT_BUFFER        2048    /* max size of most buffers we use */

#define MAX_PLUGINOUTPUT_LENGTH 2048

This is a hack and completely unsupported by anyone.   I use it as a 
configuration on all my nsca clients and servers.   I love passing URL's 
into output and they get lengthy.


Brian Seppanen
seppy at chartermi.net
906-475-0107 ext 1040


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
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