summaryrefslogtreecommitdiff
path: root/net-mgmt/monitoring-plugins/files
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-12-21 11:12:50 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-12-21 11:12:50 +0000
commit8d367325229095d906cb94e5736dfa77ce105566 (patch)
tree91db42f4e0cd8d0df7275f908ae84a9efcb2c2c9 /net-mgmt/monitoring-plugins/files
parentUpdate to 2.0.28. (diff)
Update to 2.2.
Reported by: portscout Sponsored by: Absolight
Diffstat (limited to 'net-mgmt/monitoring-plugins/files')
-rw-r--r--net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff4
-rw-r--r--net-mgmt/monitoring-plugins/files/patch-configure4
-rw-r--r--net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl6
-rw-r--r--net-mgmt/monitoring-plugins/files/patch-plugins_check__ssh.c6
4 files changed, 10 insertions, 10 deletions
diff --git a/net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff b/net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff
index 8b5633254712..f109621c2749 100644
--- a/net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff
+++ b/net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff
@@ -1,10 +1,10 @@
---- plugins/check_dig.c.orig 2014-11-30 10:36:26 UTC
+--- plugins/check_dig.c.orig 2016-11-29 08:45:08 UTC
+++ plugins/check_dig.c
@@ -94,8 +94,8 @@ main (int argc, char **argv)
timeout_interval_dig = timeout_interval / number_tries + number_tries;
/* get the command to run */
-- xasprintf (&command_line, "%s %s %s -p %d @%s %s %s +tries=%d +time=%d",
+- xasprintf (&command_line, "%s %s %s -p %d @%s %s %s +retry=%d +time=%d",
- PATH_TO_DIG, dig_args, query_transport, server_port, dns_server, query_address, record_type, number_tries, timeout_interval_dig);
+ xasprintf (&command_line, "%s %s @%s -z -p %d %s %s %s",
+ PATH_TO_DIG, dig_args, dns_server, server_port, query_transport, query_address, record_type);
diff --git a/net-mgmt/monitoring-plugins/files/patch-configure b/net-mgmt/monitoring-plugins/files/patch-configure
index 591c6525a2c9..306b52efc7b9 100644
--- a/net-mgmt/monitoring-plugins/files/patch-configure
+++ b/net-mgmt/monitoring-plugins/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig 2014-12-01 23:45:00 UTC
+--- configure.orig 2016-11-29 08:48:11 UTC
+++ configure
-@@ -16651,7 +16651,7 @@ then
+@@ -16748,7 +16748,7 @@ then
$as_echo "$ac_cv_ps_command" >&6; }
elif ps -axwo 'stat comm vsz rss user uid pid ppid args' 2>/dev/null | \
diff --git a/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl b/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl
index 46fe0a3aedbb..0cd1a4951128 100644
--- a/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl
+++ b/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl
@@ -1,6 +1,6 @@
---- plugins-scripts/check_ircd.pl.orig 2014-11-30 10:36:26 UTC
+--- plugins-scripts/check_ircd.pl.orig 2016-11-29 08:45:08 UTC
+++ plugins-scripts/check_ircd.pl
-@@ -66,6 +66,7 @@ sub bindRemote ($$);
+@@ -65,6 +65,7 @@ sub bindRemote ($$);
$ENV{'PATH'}='@TRUSTED_PATH@';
$ENV{'BASH_ENV'}='';
$ENV{'ENV'}='';
@@ -8,7 +8,7 @@
# -----------------------------------------------------------------[ Global ]--
-@@ -153,7 +154,7 @@ sub bindRemote ($$)
+@@ -152,7 +153,7 @@ sub bindRemote ($$)
print "IRCD UNKNOWN: Could not start socket ($!)\n";
exit $ERRORS{"UNKNOWN"};
}
diff --git a/net-mgmt/monitoring-plugins/files/patch-plugins_check__ssh.c b/net-mgmt/monitoring-plugins/files/patch-plugins_check__ssh.c
index f6544773faa9..14b1ae8ab9ae 100644
--- a/net-mgmt/monitoring-plugins/files/patch-plugins_check__ssh.c
+++ b/net-mgmt/monitoring-plugins/files/patch-plugins_check__ssh.c
@@ -1,12 +1,12 @@
---- plugins/check_ssh.c.orig 2014-11-30 22:28:21 UTC
+--- plugins/check_ssh.c.orig 2016-11-29 08:45:08 UTC
+++ plugins/check_ssh.c
@@ -255,6 +255,7 @@ ssh_connect (char *haddr, int hport, cha
printf
- (_("SSH WARNING - %s (protocol %s) version mismatch, expected '%s'\n"),
+ (_("SSH CRITICAL - %s (protocol %s) version mismatch, expected '%s'\n"),
ssh_server, ssh_proto, remote_version);
+ recv (sd, output, BUFF_SZ, 0);
close(sd);
- exit (STATE_WARNING);
+ exit (STATE_CRITICAL);
}
@@ -273,6 +274,7 @@ ssh_connect (char *haddr, int hport, cha
(_("SSH OK - %s (protocol %s) | %s\n"),