summaryrefslogtreecommitdiff
path: root/net-mgmt/monitoring-plugins/files
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-07-29 14:43:17 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-07-29 14:43:17 +0000
commitfc70d30ac4af7b7255baf12e2a077937bb11cb73 (patch)
treebfa26b5fa740e03cda735ba1f4022c69200fc143 /net-mgmt/monitoring-plugins/files
parent- Switch to USES=libtool, drop .la files (diff)
Update to 2.0.
Changes: https://www.monitoring-plugins.org/news/release-2-0.html Sponsored by: Absolight
Diffstat (limited to 'net-mgmt/monitoring-plugins/files')
-rw-r--r--net-mgmt/monitoring-plugins/files/patch-plugins-scripts__check_ircd.pl8
-rw-r--r--net-mgmt/monitoring-plugins/files/patch-plugins-scripts__check_ntp.pl19
-rw-r--r--net-mgmt/monitoring-plugins/files/patch-plugins__check_ssh.c8
3 files changed, 8 insertions, 27 deletions
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 891fb90b2cbd..fe29c20fd4a8 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-04-27 19:59:06.000000000 +0200
-+++ ./plugins-scripts/check_ircd.pl 2014-05-09 18:45:31.000000000 +0200
-@@ -65,6 +65,7 @@
+--- ./plugins-scripts/check_ircd.pl.orig 2014-07-06 19:55:03.000000000 +0200
++++ ./plugins-scripts/check_ircd.pl 2014-07-29 15:15:32.000000000 +0200
+@@ -66,6 +66,7 @@
$ENV{'PATH'}='@TRUSTED_PATH@';
$ENV{'BASH_ENV'}='';
$ENV{'ENV'}='';
@@ -8,7 +8,7 @@
# -----------------------------------------------------------------[ Global ]--
-@@ -152,7 +153,7 @@
+@@ -153,7 +154,7 @@
print "IRCD UNKNOWN: Could not start socket ($!)\n";
exit $ERRORS{"UNKNOWN"};
}
diff --git a/net-mgmt/monitoring-plugins/files/patch-plugins-scripts__check_ntp.pl b/net-mgmt/monitoring-plugins/files/patch-plugins-scripts__check_ntp.pl
deleted file mode 100644
index f3d08657ca5f..000000000000
--- a/net-mgmt/monitoring-plugins/files/patch-plugins-scripts__check_ntp.pl
+++ /dev/null
@@ -1,19 +0,0 @@
---- ./plugins-scripts/check_ntp.pl.orig 2014-03-04 20:21:36.000000000 +0100
-+++ ./plugins-scripts/check_ntp.pl 2014-04-14 10:22:50.000000000 +0200
-@@ -313,7 +313,6 @@
- }
- } else {
- print "No match!\n" if $verbose;
-- $jitter = '(not parsed)';
- }
-
- }
-@@ -427,7 +426,7 @@
- foreach my $key (keys %ERRORS) {
- if ($state==$ERRORS{$key}) {
- # print ("NTP $key: $answer");
-- print ("NTP $key: $answer|offset=$offset, jitter=" . $jitter/1000 . ",peer_stratum=$stratum\n");
-+ print ("NTP $key: $answer|offset=$offset, jitter=" . ($jitter || 0)/1000 . ",peer_stratum=$stratum\n");
- last;
- }
- }
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 780f14984e83..041b7bd3fe14 100644
--- a/net-mgmt/monitoring-plugins/files/patch-plugins__check_ssh.c
+++ b/net-mgmt/monitoring-plugins/files/patch-plugins__check_ssh.c
@@ -1,6 +1,6 @@
---- ./plugins/check_ssh.c.orig 2014-04-27 19:59:06.000000000 +0200
-+++ ./plugins/check_ssh.c 2014-05-09 18:45:31.000000000 +0200
-@@ -250,6 +250,7 @@
+--- ./plugins/check_ssh.c.orig 2014-07-06 12:26:39.000000000 +0200
++++ ./plugins/check_ssh.c 2014-07-29 15:15:33.000000000 +0200
+@@ -255,6 +255,7 @@
printf
(_("SSH WARNING - %s (protocol %s) version mismatch, expected '%s'\n"),
ssh_server, ssh_proto, remote_version);
@@ -8,7 +8,7 @@
close(sd);
exit (STATE_WARNING);
}
-@@ -260,6 +261,7 @@
+@@ -273,6 +274,7 @@
(_("SSH OK - %s (protocol %s) | %s\n"),
ssh_server, ssh_proto, fperfdata("time", elapsed_time, "s",
FALSE, 0, FALSE, 0, TRUE, 0, TRUE, (int)socket_timeout));