Difference Between Revision 2 and home:netmax:playground:monitoring / nrpe3
[-] | Changed | nrpe.spec |
x 1
2 Patch3: nrpe-0003-Include-etc-npre.d-config-directory.patch 3 Patch4: nrpe-default-config.patch 4 Patch13: nrpe-0013-service-rhel6.patch 5 -Patch20: nrpe-3.2.1_packetbuffer.patch 6 7 # For reconfiguration 8 BuildRequires: autoconf, automake, libtool 9
10 %patch3 -p1 -b .include_etc_npre_d 11 %patch4 -p0 -b .default-config-nrpe 12 %patch13 -p1 -b .fix_service_rhel6 13 -%patch20 -p0 -b .packetbuffer 14 + 15 16 %build 17 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%{?__global_ldflags}" \ 18 |
||
[+] | Deleted | nrpe-3.2.1_packetbuffer.patch ^ |
@@ -1,20 +0,0 @@ ---- include/common.h.in.orig 2020-02-05 09:59:52.145290051 +0100 -+++ include/common.h.in 2020-02-05 10:04:25.545290135 +0100 -@@ -55,7 +55,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 */ - #define MAX_COMMAND_ARGUMENTS 16 -@@ -70,7 +70,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 /* amount of data to send in one query/response vor version 2 */ -+#define MAX_PACKETBUFFER_LENGTH 8192 /* amount of data to send in one query/response vor version 2 */ - - typedef struct _v2_packet { - int16_t packet_version; | ||
[+] | Changed | nrpe-default-config.patch ^ |
@@ -23,7 +23,7 @@ command[check_users]=@pluginsdir@/check_users -w 5 -c 10 -command[check_load]=@pluginsdir@/check_load -r -w .15,.10,.05 -c .30,.25,.20 -+command[check_load]=@pluginsdir@/check_load -r -w 15,10,05 -c 30,25,20 ++command[check_load]=@pluginsdir@/check_load -w 15,10,05 -c 30,25,20 command[check_hda1]=@pluginsdir@/check_disk -w 20% -c 10% -p /dev/hda1 command[check_zombie_procs]=@pluginsdir@/check_procs -w 5 -c 10 -s Z -command[check_total_procs]=@pluginsdir@/check_procs -w 150 -c 200 |