From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/281050-check_ping_countermeasures.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 web/attachments/281050-check_ping_countermeasures.patch (limited to 'web/attachments/281050-check_ping_countermeasures.patch') diff --git a/web/attachments/281050-check_ping_countermeasures.patch b/web/attachments/281050-check_ping_countermeasures.patch new file mode 100644 index 0000000..ce62a42 --- /dev/null +++ b/web/attachments/281050-check_ping_countermeasures.patch @@ -0,0 +1,15 @@ +--- nagios-plugins-1.4.6-modified/plugins/check_ping.c 2008-06-11 10:08:35.000000000 -0400 ++++ nagios-plugins-1.4.6/plugins/check_ping.c 2008-06-11 10:07:08.000000000 -0400 +@@ -470,11 +470,7 @@ run_ping (const char *cmd, const char *a + /* check stderr, setting at least WARNING if there is output here */ + /* Add warning into warn_text */ + while (fgets (buf, MAX_INPUT_BUFFER - 1, child_stderr)) { +- if ( +- ! strstr(buf,"WARNING - no SO_TIMESTAMP support, falling back to SIOCGSTAMP") +- && ! strstr(buf,"Warning: time of day goes back") +- +- ) { ++ if (! strstr(buf,"WARNING - no SO_TIMESTAMP support, falling back to SIOCGSTAMP")) { + if (verbose >= 3) { + printf("Got stderr: %s", buf); + } -- cgit v1.2.3-74-g34f1