diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-02-12 22:21:55 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-02-12 22:21:55 +0000 |
commit | 8483b4df8851e4531344f4966f6a63f8d6331fb1 (patch) | |
tree | 039dbd28d1d9a4bddb8fb6221ad69bf152efe871 | |
parent | 2967acc1a17742cc9b1a5dffd866c25195ad7ee6 (diff) | |
download | monitoring-plugins-8483b4df8851e4531344f4966f6a63f8d6331fb1.tar.gz |
Inadequate quoting for PS_FORMAT & removal of grep "*** for Tru64
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@320 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index d9de3df4..b3864eff 100644 --- a/configure.in +++ b/configure.in | |||
@@ -501,7 +501,7 @@ then | |||
501 | AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -ao 'stat user ppid args'",[Verbatim command to execute for ps in check_netsaint]) | 501 | AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -ao 'stat user ppid args'",[Verbatim command to execute for ps in check_netsaint]) |
502 | EXTRAS="$EXTRAS check_nagios" | 502 | EXTRAS="$EXTRAS check_nagios" |
503 | AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -ao 'stat uid ppid comm args'") | 503 | AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -ao 'stat uid ppid comm args'") |
504 | AC_DEFINE_UNQUOTED(PS_FORMAT,"%s%*[ +] %d %d %s %n",[Format string for scanning ps output in check_procs]) | 504 | AC_DEFINE_UNQUOTED(PS_FORMAT,[["%s%*[ +] %d %d %s %n"]],[Format string for scanning ps output in check_procs]) |
505 | AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -ao 'vsz comm'",[]) | 505 | AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -ao 'vsz comm'",[]) |
506 | AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s",[]) | 506 | AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s",[]) |
507 | AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -ao 'rss comm'",[]) | 507 | AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -ao 'rss comm'",[]) |
@@ -728,7 +728,7 @@ AC_PATH_PROG(PATH_TO_NSLOOKUP,nslookup) | |||
728 | if test -n "$ac_cv_path_PATH_TO_NSLOOKUP" | 728 | if test -n "$ac_cv_path_PATH_TO_NSLOOKUP" |
729 | then | 729 | then |
730 | AC_MSG_CHECKING("nslookup syntax") | 730 | AC_MSG_CHECKING("nslookup syntax") |
731 | if [nslookup -sil 127.0.0.1 2>&1 | grep "*** Invalid option: sil" >/dev/null] | 731 | if [nslookup -sil 127.0.0.1 2>&1 | grep "Invalid option: sil" >/dev/null] |
732 | then | 732 | then |
733 | AC_MSG_RESULT("$PATH_TO_NSLOOKUP") | 733 | AC_MSG_RESULT("$PATH_TO_NSLOOKUP") |
734 | AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$PATH_TO_NSLOOKUP",[path and args for nslookup]) | 734 | AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$PATH_TO_NSLOOKUP",[path and args for nslookup]) |