forked from pool/monitoring-plugins
Accepting request 692599 from home:dstoecker
- support IPv4 ping for dual stacked host again: check_ping_fix_ip4.patch OBS-URL: https://build.opensuse.org/request/show/692599 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=62
This commit is contained in:
parent
233e17263a
commit
ff3938f241
15
check_ping_fix_ip4.patch
Normal file
15
check_ping_fix_ip4.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff -ur monitoring-plugins-2.2/plugins/check_ping.c monitoring-plugins-2.2_fix/plugins/check_ping.c
|
||||||
|
--- monitoring-plugins-2.2/plugins/check_ping.c 2016-11-29 09:45:08.000000000 +0100
|
||||||
|
+++ monitoring-plugins-2.2_fix/plugins/check_ping.c 2019-04-09 14:09:57.574380368 +0200
|
||||||
|
@@ -128,6 +128,11 @@
|
||||||
|
#else
|
||||||
|
xasprintf (&cmd, rawcmd, addresses[i], max_packets);
|
||||||
|
#endif
|
||||||
|
+ if (address_family == AF_INET) {
|
||||||
|
+ free(rawcmd);
|
||||||
|
+ rawcmd = cmd;
|
||||||
|
+ xasprintf (&cmd, "%s -4", rawcmd);
|
||||||
|
+ }
|
||||||
|
|
||||||
|
if (verbose >= 2)
|
||||||
|
printf ("CMD: %s\n", cmd);
|
@ -10,6 +10,11 @@ Fri Apr 12 14:20:08 CEST 2019 - ro@suse.de
|
|||||||
|
|
||||||
- update usr.lib.nagios.plugins.check_procs to bash in /usr
|
- update usr.lib.nagios.plugins.check_procs to bash in /usr
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 9 12:19:20 UTC 2019 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||||
|
|
||||||
|
- support IPv4 ping for dual stacked host again: check_ping_fix_ip4.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 30 14:25:19 CET 2018 - ro@suse.de
|
Fri Nov 30 14:25:19 CET 2018 - ro@suse.de
|
||||||
|
|
||||||
|
@ -62,6 +62,8 @@ Source59: nrpe-check_mysql
|
|||||||
Source60: nrpe-check_ups
|
Source60: nrpe-check_ups
|
||||||
# PATCH-FIX-UPSTREAM Quote the options comming in from users (path names might contain whitespaces)
|
# PATCH-FIX-UPSTREAM Quote the options comming in from users (path names might contain whitespaces)
|
||||||
Patch1: %{name}-2.1.1-check_logfile.patch
|
Patch1: %{name}-2.1.1-check_logfile.patch
|
||||||
|
# PATCH-FIX-UPSTREAM Allow to ping IPv4 with check_ping again for dual stack hosts: https://github.com/monitoring-plugins/monitoring-plugins/issues/1550
|
||||||
|
Patch2: check_ping_fix_ip4.patch
|
||||||
# PATCH-FIX-OPENSUSE do not use chown in Makefile (not possible when building as normal user)
|
# PATCH-FIX-OPENSUSE do not use chown in Makefile (not possible when building as normal user)
|
||||||
Patch6: %{name}-1.4.6-no_chown.patch
|
Patch6: %{name}-1.4.6-no_chown.patch
|
||||||
# PATCH-FIX-UPSTREAM Use correct pointer
|
# PATCH-FIX-UPSTREAM Use correct pointer
|
||||||
@ -1102,6 +1104,7 @@ EOF
|
|||||||
done
|
done
|
||||||
|
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
%patch15 -p1
|
%patch15 -p1
|
||||||
|
Loading…
Reference in New Issue
Block a user