Hello community, here is the log from the commit of package nagios-nrpe checked in at Fri Nov 28 16:28:26 CET 2008. -------- --- nagios-nrpe/nagios-nrpe.changes 2008-10-13 09:41:20.000000000 +0200 +++ nagios-nrpe/nagios-nrpe.changes 2008-11-27 19:30:47.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Nov 27 19:28:38 CET 2008 - lrupp@suse.de + +- Added nagios-nrpe-buffersize.patch: support long check output + of plugins, which is possible since Nagios 3.0 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- nagios-nrpe-buffersize.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nagios-nrpe.spec ++++++ --- /var/tmp/diff_new_pack.e21833/_old 2008-11-28 16:27:39.000000000 +0100 +++ /var/tmp/diff_new_pack.e21833/_new 2008-11-28 16:27:39.000000000 +0100 @@ -25,13 +25,14 @@ License: GPL v2 or later Url: http://www.nagios.org/ Version: 2.12 -Release: 1 +Release: 2 Source0: %realname-%version.tar.bz2 Source1: rcnrpe Source2: nagios-nrpe-rpmlintrc Source3: nagios-nrpe-SuSEfirewall2 Patch: nagios-nrpe-Makefile.patch Patch1: nagios-nrpe-xinetd.patch +Patch2: nagios-nrpe-buffersize.patch BuildRequires: nagios-plugins tcpd-devel %if 0%{?suse_version} > 1000 BuildRequires: krb5-devel @@ -142,6 +143,7 @@ %setup -n %realname-%version %patch %patch1 +%patch2 %build %configure \ @@ -283,6 +285,9 @@ %_sbindir/nrpe %changelog +* Thu Nov 27 2008 lrupp@suse.de +- Added nagios-nrpe-buffersize.patch: support long check output + of plugins, which is possible since Nagios 3.0 * Mon Oct 13 2008 lrupp@suse.de - added cron to Should-Start/Should-Stop, so nrpe starts even on curious systems @@ -313,7 +318,7 @@ * Thu Dec 27 2007 lars@linux-schulserver.de - use user nagios and group nagios to run as daemon (client) - try to add the nrpeport to /etc/services if not done already -* Thu Dec 27 2007 lars@linux-schulserver.de +* Wed Dec 26 2007 lars@linux-schulserver.de - back to nagios* again as all pathnames are now identical * Tue Nov 27 2007 lars@linux-schulserver.de - rename to nagios3* ++++++ nagios-nrpe-buffersize.patch ++++++ # Up with Version 3.0, Nagios supports long hostoutputs. # This patch adapts nrpe to support the standard buffersize # of Nagios 3.0 - so plugins can send (very) long output via # NRPE to the Nagios Server. Index: include/common.h =================================================================== --- include/common.h.orig +++ include/common.h @@ -41,7 +41,7 @@ #define DEFAULT_SOCKET_TIMEOUT 10 /* timeout after 10 seconds */ #define DEFAULT_CONNECTION_TIMEOUT 300 /* timeout if daemon is waiting for connection more than this time */ -#define MAX_INPUT_BUFFER 2048 /* max size of most buffers we use */ +#define MAX_INPUT_BUFFER 8192 /* max size of most buffers we use */ #define MAX_FILENAME_LENGTH 256 #define MAX_HOST_ADDRESS_LENGTH 256 /* max size of a host address */ @@ -60,7 +60,7 @@ #define NRPE_PACKET_VERSION_2 2 #define NRPE_PACKET_VERSION_1 1 /* older packet version identifiers (no longer supported) */ -#define MAX_PACKETBUFFER_LENGTH 1024 /* max amount of data we'll send in one query/response */ +#define MAX_PACKETBUFFER_LENGTH 8192 /* max amount of data we'll send in one query/response */ typedef struct packet_struct{ int16_t packet_version; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org