dc1f97b45e
check_snmp calls snmpget without '-c' parameter, which is mandatory with NetSNMP 5.x. Add '-c' to the command line to make it work with both NetSNMP 4.x and 5.x. check_by_ssh dumps core with called without -C, also usage help output does not document -C and -v. check_ssh plugin incorrectly parses the SSH banner. check_ntp does not work with NTP v2. Add -n option to be able to select NTP version. Submitted by: David Douthitt <n9ubh@callsign.net>, Jens Trzaska <jt@barfoos.de> (check_snmp) via maintainer
11 lines
429 B
Text
11 lines
429 B
Text
--- plugins-scripts/subst.in.orig Fri Sep 1 05:47:35 2000
|
|
+++ plugins-scripts/subst.in Sun Jun 23 14:24:00 2002
|
|
@@ -33,7 +33,7 @@
|
|
# Trusted path mechanism (deprecated)
|
|
|
|
/^[ \t]*\$ENV[ \t]*\{[ \t'"]*PATH[ \t"']*\}[ \t]*=/ {
|
|
- sub(/\=[ \t]*['"][^"']+["']/,"='@trusted_path@' # autoconf-derived");
|
|
+ sub(/\=[ \t]*['"][^"']+["'];/,"='@trusted_path@'; # autoconf-derived");
|
|
}
|
|
|
|
/^[\t ]*(export[\t ]*)?PATH[\t ]*=['"]+.+["']$/ {
|