rpms/nagios/EL-4 output_buffer.patch,NONE,1.1

Mike McGrath mmcgrath at fedoraproject.org
Tue Jul 7 14:21:15 UTC 2009


Author: mmcgrath

Update of /cvs/pkgs/rpms/nagios/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23056

Added Files:
	output_buffer.patch 
Log Message:
adding output_buffer patch

output_buffer.patch:

--- NEW FILE output_buffer.patch ---
diff -uNr nagios-2.12.bak/include/common.h nagios-2.12/include/common.h
--- nagios-2.12.bak/include/common.h	2008-05-19 12:04:40.000000000 -0500
+++ nagios-2.12/include/common.h	2009-03-03 08:45:44.000000000 -0600
@@ -379,7 +379,7 @@
 /************************** MISC DEFINITIONS ****************************/
 
 #define MAX_FILENAME_LENGTH			256	/* max length of path/filename that Nagios will process */
-#define MAX_INPUT_BUFFER			1024	/* size in bytes of max. input buffer (for reading files) */
+#define MAX_INPUT_BUFFER			8192	/* size in bytes of max. input buffer (for reading files) */
 #define MAX_COMMAND_BUFFER                      8192    /* max length of raw or processed command line */
 
 #define MAX_DATETIME_LENGTH			48
diff -uNr nagios-2.12.bak/include/objects.h nagios-2.12/include/objects.h
--- nagios-2.12.bak/include/objects.h	2006-03-21 16:21:51.000000000 -0600
+++ nagios-2.12/include/objects.h	2009-03-03 08:46:28.000000000 -0600
@@ -45,7 +45,7 @@
 
 #define MAX_HOSTNAME_LENGTH            		64	/* max. host name length */
 #define MAX_SERVICEDESC_LENGTH			64	/* max. service description length */
-#define MAX_PLUGINOUTPUT_LENGTH			332	/* max. length of plugin output */
+#define MAX_PLUGINOUTPUT_LENGTH			8192	/* max. length of plugin output */
 
 #define MAX_STATE_HISTORY_ENTRIES		21	/* max number of old states to keep track of for flap detection */
 




More information about the fedora-extras-commits mailing list