pkgsrc/net/nagios-plugins/patches/patch-ai
morr 7531483ace Update to nagios-plugins 1.4.15.
This release contains several enhancements, including rate calculation in check_snmp. There are also lots of bug fixes.
* New check_ntp_peer -m and -n options to check the number of usable time sources ("truechimers")
* New check_disk_smb -a option which allows for specifying the IP address of the remote server
2011-04-08 22:56:12 +00:00

21 lines
444 B
Text

$NetBSD: patch-ai,v 1.2 2011/04/08 22:56:12 morr Exp $
--- plugins-scripts/subst.in.orig 2010-07-27 20:47:16.000000000 +0000
+++ plugins-scripts/subst.in
@@ -9,13 +9,14 @@ function which(c,path) {
sub(/\/.*\//,"",c);
for (dir in path) {
+ if (match(path[dir], /.tools/ ) != 0 ) {
+ continue;
+ }
cmd = "test -x " path[dir] "/" c;
if (system(cmd)==0) {
return path[dir] "/" c;
}
}
-
-
return c;
}