packages: nagios-nsca/nagios-nsca.spec, nagios-nsca/buffer-len.patch (NEW)=?UTF-8?Q?=20?=...
glen
glen at pld-linux.org
Wed Jun 27 21:48:34 CEST 2012
Author: glen Date: Wed Jun 27 19:48:34 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- increase MAX_PLUGINOUTPUT_LENGTH to 8192 like in Nagios, seems clients with 4096 buffer can still submit properly
---- Files affected:
packages/nagios-nsca:
nagios-nsca.spec (1.20 -> 1.21) , buffer-len.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/nagios-nsca/nagios-nsca.spec
diff -u packages/nagios-nsca/nagios-nsca.spec:1.20 packages/nagios-nsca/nagios-nsca.spec:1.21
--- packages/nagios-nsca/nagios-nsca.spec:1.20 Tue Jun 26 01:09:25 2012
+++ packages/nagios-nsca/nagios-nsca.spec Wed Jun 27 21:48:28 2012
@@ -1,7 +1,7 @@
# $Revision$, $Date$
# TODO
# - do something with using_alternate_dump_file in nagios initscript (warn or dump to pipe on startup)
-# - increase MAX_PLUGINOUTPUT_LENGTH to 8192 like in nagios, but need to patch code to support 4096 and 512 as well
+# - do we need to support MAX_PLUGINOUTPUT_LENGTH=4096 for compat of unpatched 2.9? current 512 compat is not even working
#
# Conditional build:
%bcond_without mcrypt # build without mcrypt support
@@ -133,6 +133,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21 2012/06/27 19:48:28 glen
+- increase MAX_PLUGINOUTPUT_LENGTH to 8192 like in Nagios, seems clients with 4096 buffer can still submit properly
+
Revision 1.20 2012/06/25 23:09:25 glen
- license version
================================================================
Index: packages/nagios-nsca/buffer-len.patch
diff -u /dev/null packages/nagios-nsca/buffer-len.patch:1.1
--- /dev/null Wed Jun 27 21:48:34 2012
+++ packages/nagios-nsca/buffer-len.patch Wed Jun 27 21:48:28 2012
@@ -0,0 +1,11 @@
+--- nsca-2.9.1/include/common.h~ 2012-01-27 15:20:03.000000000 +0200
++++ nsca-2.9.1/include/common.h 2012-06-26 01:39:56.349236637 +0300
+@@ -54,7 +54,7 @@
+
+ #define MAX_HOSTNAME_LENGTH 64
+ #define MAX_DESCRIPTION_LENGTH 128
+-#define MAX_PLUGINOUTPUT_LENGTH 4096
++#define MAX_PLUGINOUTPUT_LENGTH 8192
+
+ #define OLD_PLUGINOUTPUT_LENGTH 512
+ #define OLD_PACKET_LENGTH (( sizeof( data_packet) - ( MAX_PLUGINOUTPUT_LENGTH - OLD_PLUGINOUTPUT_LENGTH)))
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/nagios-nsca/nagios-nsca.spec?r1=1.20&r2=1.21
More information about the pld-cvs-commit
mailing list