pax_global_header00006660000000000000000000000064116615307150014517gustar00rootroot0000000000000052 comment=3e5b2e7e219e0c8297bfa9fb55b4461dcecf4266 check_multi-0.26/000077500000000000000000000000001166153071500137355ustar00rootroot00000000000000check_multi-0.26/.gitignore000066400000000000000000000001201166153071500157160ustar00rootroot00000000000000 # in all paths Makefile # / /aclocal.m4 /autom4te*.cache /config.* /configure check_multi-0.26/CM_VERSION000066400000000000000000000000461166153071500153640ustar00rootroot00000000000000check_multi_0.26_506_2011-11-18-20:28 check_multi-0.26/Changelog000066400000000000000000000351761166153071500155630ustar00rootroot00000000000000 ===== Changelog ===== **0.26** Fri Nov 18 20:27:28 CET 2011 * fixed macro handling for livestatus command * added perfdata for statusdat command * fixed perfdata column for livestatus command * fixed proper encoding of XML state elements * numerical tags are not allowed * fixed macro handling: complain about non-existing macros and remove * inventory parameter: reduced XML for feed_passive * provide error message if no HOSTNAME is specified for passive service definitions * fixed hostname treatment for PNP urls * spaces in tags and macros are not allowed any more * contrib: notify_html_service.sh uses mime multipart elements * fixed trimming blanks at line end with continuation lines * cumulate perfdata handling fixed * child timeout increased to 11s - no collision with 10s default * fixed handling of non existing child state rules * child checks state rules reorganized * statusdat checks now only consider hard states * print matching state rule in long plugin output * feed_passive with perfdata [ plugin ] at the end * better perfdata error output for invalid UOM **0.25** 26.02.2011 * included nail to contrib/notify_service * report options are inherited from parent check_multi * added floating point support for cumulate * instant execution of a child check: -i TAG * 'attribute [ key ] = value' now sets internal variables * new option add_tag_to_list_entries provides lists without prefix * fixed host states for statusdat: down->critical,unreachable->unknown * repeat writing of feed_passive config files after time period * tmp_dir with tolerant permissions * fixed 0 value environment variables * new tests (random tags/macros), test restructured * fixed problem with tags parsing * variables set on command line are still exported as MULTI_var * MULTI_ replaced by MULTI_set_ to avoid collisions * new macro ERROR_ contains STDERR of child check * allowed characters for tags and macros fixed * fixed missing closing for status.cgi, thx to Sebastian Halles * statusdat now handles makros, thx to Jan Mara * fixed empty illegal_chars var handling, thx to Tony Yarusso * tags now can contain any characters: command [ this is a tag ] = ... * added send_gearman client report mode * OMD - check for environment variables OMD_ROOT and OMD_SITE **0.24** 09.10.2010 * STDIN (needed for feed_passive) now activated with '-f -' * nested macros allowed: 'normal' macros within objects.cache macros * change in child timeout handling: full time range is used for child checks now * macro substitution is case insensitive now (thx to Morbid Angel) * fixed empty plugin output in checkresults files (thx to Joerg Krueger) * added livestatus host expansion: livestatus [ tag ] = host.* * fix for checking of warning and critical perfdata fields, thx to makana * objects.cache macros added: $type:field:key:value$ is substituted by objects.cache value * restructured error messaging: messages are assigned to child checks whereever applicable * now accepting perfdata with trailing semicolons (like in PNP) * report mode 32768 now suppresses all OK states in ASCII mode, thx to Joel Brooks * added old XML structure input mode for upgrade issues, thx to Joerg Krueger * passive feeded service definitions can be created automatically now * added check for invalid name characters (allowed are A-Za-z0-9_-) **0.23** 20.06.2010 * fixed statusdat for hosts and added numerous test cases * version control system migrated to GIT (github) **0.22** 19.06.2010 * fix for correct treatment of empty lines in encoded configurations, thx to Frank Plab * state evaluation for child checks now works as global state evaluation\\ - with complete expression, e.g. '$child$=~/expr/' * statusdat [ test ] = /host.*/ - now supports also including host checks * splitted checkresults report sub to prepare host checkresult files **0.21** 03.06.2010 * second version of livestatus [ tag ] = Filter: field ~ pattern (needs Monitoring::Livestatus) * added first version of livestatus [ tag ] = host:service (needs Monitoring::Livestatus) * fixes for eval[ tag::plugin ]. thx again, Henry * child checks are assigned to own process group (thx to Henry Rolofs) * timeout routine now also kills child checks with positive numbers (thanks to Henry Rolofs) * added new report mode which hides OK states / only shows problem states (thx to Timo Kempkens) * added ok/warning/critical/unknown state rules for particular child checks: check_multi goes check_generic * added fatal exit for two conditions: fork error and tmpfile error * added encode option for providing complete config files via command line, thx to Michael Kraus and Gerhard Lausser * added plugin_path variable, it allows to separate different plugins from libexecdir * restructured pnp variables, pnp_cgi is replaced by pnp_url and pnp_version * pnp popup errors fixed, thanks to Joerg Linge, Sebastian Waitz and Rene Rosenberger * added new variable child_interval to provide time interval between child checks (default: 0.0 seconds) * fixed status output for '-r 64': OK is only displayed, if plugin output does not contain OK itself, thanks to Jens Person * added extended_perfdata, with particular state counters and overall states, thanks to Gerd von Egidy and Joerg Linge * added support for icinga, 'configure --with-nagios_name=icinga' * command file can now be feeded via STDIN, thanks to Joerg Krueger for this idea * added 'snmp [ TAG ] = HOST:OID' (snmpget) * added variable mouseover_type to cover PNP 0.6 and 0.4 differences, default is PNP 0.6 * first version of new 'cumulate' function, which aggregates data a la 'top' * fixed handling of non-existing signals, and non-existing RCs **0.20** 16.10.2009 * invisible checks (eval) will not be counted any more, since this confused some people :) * added output [ TAG ] statement, it provides customizeable output everywhere, no more X plugins checked, Y plugins OK... * rewritten parsing code - now trailing backslashes are not necessary any more * replaced pnp_path by pnp_cgi with full path to PNP graph.php (PNP 0.6 coming soon) * '-' as tag-char was broken, thx Hendrik * added showcase / sample-config feed_passive to demonstrate feeding features * added -s suppress_service=, to exclude services from report_send_nsca and report_checkresults_file * added STDIN mode: check_multi now can report XML output feeded via STDIN * hopefully userfriendly report mode specification: -r 1+4+8 is the same like -r 13 * new report mode 'report_checkresults_file' added for direct injection of child checks as passive service check results * added caching for 'service [ tag ]' * added send_nsca report option 4096, it sends child results to NSCA master * added COUNT(ALL) to provide cluster rules like this one\\ state [ CRITICAL ] = COUNT(CRITICAL) < COUNT(ALL)-1 * added 'service [ tag ] = host:service' to read service states from status.dat * again some fixes for configure * option action_mouseover now allows PNP popups in extinfo, thx to Amit Mor * added example section in documentation - find these examples in sample-config * at last: first configure version (including lots of cleanup and directory moving) * added PERFDATA_ environment var: perfdata for child checks, thx Bjoern Becker * underscore is now allowed tag character * added pnp_path (as replacement for action_url) and image_path, thx Amit Mor * fixed html output for status_in_extinfo mode:
instead of \n, thx Sascha * added query_examples.html with sample queries * status_query.cgi now with multiple combined queries * nagios_status.cgi renamed to status_query.cgi * added nagios_status.cgi to contrib directory, queries for all and everything ;) * added option to provide multi output also in status cgi view, thx Sascha * added LWP for reading config file remotely (http://hostname/path/to/configfile) * added FindBin and changed default libexec path to $FindBin::Bin, thx. Wolfgang * basename(plugin) - removed /path/from/ for proper perfdata, thx. Gerhard **0.19** 11.02.2009 * illegal_chars removal also for input (command lines) * added fork for execution of child checks (allows better timeout handling) * fixed main loop error handling (prevent repetition) * better timeout handling: kill process group leader instead of die avoids hang of program * removed newline cleanup for output * replaced old contrib notification template with new notify_service_html * fixed plugin counting (now reflects parent plugin) * fixed eeval treatment of invalid RCs (like command) * first preparation for data persistence * check_multi environment vars begin now all with MULTI_ * data structure update: all settings now in $opt{set} * data structure update: parent data now in $cmds{0} * fixed initial RC (thx Henry) * minor fix in HTML verbose output * removed CR from wintel output and stderr (thx Sascha) * add report option DETAIL_SERVICE_DEFINITION for multi_feed_passive * set xml_elements= allows customization of XML output * removed '# comments within lines * orphaned parameters check for command line * proper error handling for creation of tmp directory * fixed treatment of macros (-s-option): upper case -> case sensitive * at last: EPN capability (without 'use strict') * first steps to flexible output definition * added tmp_dir for temporary files * added URL to usage for documentation * commands extensible during runtime -> call parse_lines within eeval * fixed missing escaping for '#' * improved verbose mode also for HTML output **0.18** 07.08.2008 * improved verbose mode for ASCII output * removed suppress_perfdata for check_multi perfdata, PNP needs this * ok, convinced ;-) removed forced drop_privileges, warning message is sufficient * moved drop_privileges before parameter evaluation: needs compile time UID now * drop_privileges if ran as root, default: run as user nagios * old exec with tempfiles is standard until new exec is validated (exec_open3:0) * redesign of exec_command: open3 from IPC module does the trick now ;-) * more indentation for HTML view - indent_label var created * fixed handling of splitted multiline performance data (thx to Lorenz Bucher) * added '#' comments functionality within lines (not complete comment lines) * macro handling: non found $MACRO$ will be replaced by '' * fixed substitute_macros * minor fixes for notes_url links: alternation of link and icon, column spanning * added tag_notes_link to implement notes_url as link behind tag in extinfo * added notes_url for child checks and MULTI_TAG var * fixed perfdata parser (thx Gerhard) * added signal handler to catch terminating signals (cleanup,report) * macro_substitution now also in tags (thx Willi) * added error message if no plugin defined at all * fixed plugin state for command file not found to UNKNOWN (thx Rudolf) **0.17** 16.04.2008 * added recursive call detection * collapse option to hide OK output in HTML view * error messages in plugin output instead of long plugin output * indentation of recursive checks in ASCII mode * perl module version check for Getopt::Long * added control variable for use of HTML::Entities * restrict tag characters to A-Za-z0-9_: * add libexec path to PATH var during check_multi runtime * fixed regex in perfdata check routine (thx denschi) * fixed CSS tags for HTML output (thx TheCry) * print command runtime 0 if command is not executed due to timeout * last rc from eval will also be mentioned for state evaluation * added -x / execute option to provide commandline also for commands * added file_extension setting to specify config file extension * fixed perfdata label sanitizing (thx Jens) * added explicit perfdata plugin specification (thx to Joerg Linge) * fixed state substitution (now only for state statements) * fixed check_multi performance data labels * added ASCII output into HTML comments for notification scripts * splitted eval into eeval (echo eval) and eval **0.16** 19.01.2008 * multi label fix backported into stable 0.16 * minor cleanups * enhanced performance string error parsing * performance labels delimiters '::' -> '_' * minor fixes(eval error output, HTML::Entities use in eval...) * added $STATE_$ vars * fixed ::multi_label:: problems with ::tags * new option -s suppress_perfdata=,[][,...] * discarding incorrect perfdata (in order to save the other) * fixed HTML::entities (thx to Gerhard Lausser) * added set option: --set ENV_VAR=xyz * added continuation lines capability for config files * some minor debugging changes * added eval [ TAG ] = PERLEXPR * ePN support removed again (too many error conditions) * fixed HTML issues (table specific, thx to Wolfgang Barth) * ePN support * removed --state option (replaced by state evaluation) * replaced -r 64 (command list) and -r 1024 (state eval) by verbose option * added --verbose (level 0-3) option and DEBUG routine **0.15** 21.11.2007 * added 'ignore_missing_cmd_file' option for command overloading * added --set option to add multiple config values * added command overloading mechanism * removed brackets from HTML view * no MULTI label any more, standard is: no label * multiple config files supported: -f -f ... * corrected line ( Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. check_multi-0.26/Makefile.in000066400000000000000000000105601166153071500160040ustar00rootroot00000000000000#--- #--- Top level Makefile for check_multi #--- #--- $Id$ #--- #--- #--- Src directories SRC_PLUGINS=@srcdir@/plugins SRC_PL_TEST=@srcdir@/plugins/t SRC_CONTRIB=@srcdir@/contrib SRC_CONFIG=@srcdir@/sample_config #--- #--- user settings prefix=@prefix@ exec_prefix=@exec_prefix@ CFGDIR=@sysconfdir@ LIBEXECDIR=@libexecdir@ DATADIR=@datarootdir@ CGIDIR=@sbindir@ INSTALL=@INSTALL@ VERSION=$(shell cut -d'_' -f 3 CM_VERSION | tr -d v) @SET_MAKE@ #--- #--- none: make without option shows help none: @echo "" @echo " make" @echo "" @echo " all do all subsequent options except install" @echo "" @echo " plugins create plugins" @echo " config sample configuration" @echo " contrib generate all contrib files" @echo " test test plugins" @echo "" @echo " test run test scripts for plugins" @echo " test-all run test scripts for all" @echo "" @echo "" @echo " install install check_multi plugin" @echo " install-plugins install check_multi plugin" @echo " install-contrib install contribution files" @echo " install-config install sample config" @echo "" @echo " fullinstall install everything" @echo "" #--- #--- combination of all targets all: @ cd $(SRC_PLUGINS) && $(MAKE) -s -e $@ @ cd $(SRC_PL_TEST) && $(MAKE) -s -e $@ @ cd $(SRC_CONTRIB) && $(MAKE) -s -e $@ @ cd $(SRC_CONFIG) && $(MAKE) -s -e $@ $(MAKE) hook @echo "" @echo " Make process finished" @echo "" @echo " *** Next step: make test ***" @echo "" @echo " or: make test-all (for all tests)" @echo " or: make test-checkresults" @echo " or: make test-extreme (random tag and macro values)" @echo " or: make test-feeds-passive (requires Perl module XML::Simple)" @echo " or: make test-livestatus (requires livestatus module and Perl Module Monitoring::Livestatus)" @echo " or: make test-macros" @echo " or: make test-perfdata" @echo " or: make test-statusdat" @echo "" @echo " *** and then: make install ***" @echo "" @echo " - This installs the check_multi plugin" @echo "" #--- #--- here the different subsections follow contrib: @ cd $(SRC_CONTRIB) && $(MAKE) -e $@ config: @ cd $(SRC_CONFIG) && $(MAKE) -e $@ plugins: @ cd $(SRC_PLUGINS) && $(MAKE) -e $@ test-all: @ cd $(SRC_PL_TEST) && $(MAKE) -e $@ test: @ cd $(SRC_PL_TEST) && $(MAKE) -e $@ test-macros: @ cd $(SRC_PL_TEST) && $(MAKE) -e $@ test-perfdata: @ cd $(SRC_PL_TEST) && $(MAKE) -e $@ test-checkresults: @ cd $(SRC_PL_TEST) && $(MAKE) -e $@ test-feeds-passive: @ cd $(SRC_PL_TEST) && $(MAKE) -e $@ test-livestatus: @ cd $(SRC_PL_TEST) && $(MAKE) -e $@ test-statusdat: @ cd $(SRC_PL_TEST) && $(MAKE) -e $@ test-extreme: @ cd $(SRC_PL_TEST) && $(MAKE) -e $@ test-timeout: @ cd $(SRC_PL_TEST) && $(MAKE) -e $@ test-test: @ cd $(SRC_PL_TEST) && $(MAKE) -e $@ hook: @ test -d .git && test -h .git/hooks/pre-commit || ( cd .git/hooks; rm -f pre-commit; ln -s ../../mk_VERSION pre-commit ) #--- #--- install sections install: @ cd $(SRC_PLUGINS) && $(MAKE) -e $@ @echo "" @echo "Please run 'make install-contrib' to install contrib files" @echo "Please run 'make install-config' to install sample config files" @echo "" install-contrib: @ cd $(SRC_CONTRIB) && $(MAKE) -e $@ install-config: @ cd $(SRC_CONFIG) && $(MAKE) -e $@ install-plugins: @ cd $(SRC_PLUGINS) && $(MAKE) -e $@ fullinstall: install-plugins install-contrib install-config #--- #--- cleanup sections clean: @ cd $(SRC_PLUGINS) && $(MAKE) -e $@ @ cd $(SRC_PL_TEST) && $(MAKE) -e $@ @ cd $(SRC_CONTRIB) && $(MAKE) -e $@ @ cd $(SRC_CONFIG) && $(MAKE) -e $@ #-rm -f *.cfg core #-rm -f *~ *.*~ */*~ */*.*~ @ -rm -rf autom4te.cache @ $(MAKE) -e distclean distclean: @ cd $(SRC_PLUGINS) && $(MAKE) -e $@ @ cd $(SRC_PL_TEST) && $(MAKE) -e $@ @ cd $(SRC_CONTRIB) && $(MAKE) -e $@ @ cd $(SRC_CONFIG) && $(MAKE) -e $@ @ -rm -f Makefile config.status config.log subst devclean: distclean version: NEWVERSION=$$(dialog --stdout --inputbox "New Version:" 0 0 "$(VERSION)"); \ if [ -n "$$NEWVERSION" ] && [ "$$NEWVERSION" != "$(VERSION)" ]; then \ sed -i "s/===== Changelog =====[\n\t]*/===== Changelog =====\n\n**$$NEWVERSION**\t$(shell date)/m" Changelog; \ sed -i "s/$(VERSION)/$$NEWVERSION/" CM_VERSION configure.ac ;\ fi #$(MAKE) docs check_multi-0.26/README000066400000000000000000000016521166153071500146210ustar00rootroot00000000000000 check_multi README ------------------ For the current documentation please see http://my-plugin.de/check_multi There's an English and a German version available. What is check_multi? -------------------- check_multi is kind of a wrapper plugin which takes benefit of the Nagios 3.x capability to display multiple lines of plugin output. It calls multiple child plugins and displays their output in the long_plugin_output. A summary is given in the standard plugin output. Normally the child return code with the highest severity becomes the parent (check_multi) plugin return code. But you can influence this by specifying flexible state evaluation rules. The configuration is very simple: a NRPE-stylish config file contains a tag for each child plugin and then the check command line. Feedback and help ----------------- Questions and comments are always welcome at (Matthias.Flacke-at-gmx.de) Version ------------- 0.25 check_multi-0.26/THANKS000066400000000000000000000012731166153071500146530ustar00rootroot00000000000000 Thanks for your help! Clemente Aguiar Tobias Appel Hendrik Baecker Wolfgang Barth Sascha Bay Bjoern Becker Joel Brooks Lorenz Bucher Chris Mark Clarkson Gerd von Egidy Mark Eisenblaetter Wiltmut Gerdes Marc Haber Sebastian Halles Robert Hecht Stefan Hoesl Timo Kempkens Michael Kraus Joerg Krueger Gerhard Lausser Rudolf Labuschagne Stanislas Leveau Joerg Linge Michael Luebben Jan Mara Jeremy Martin Amit Mor Wolfgang Nieder Sven Nierlein Yury Pakhomenko Marcel Pennewiss Jens Person Frank Plab Olivier 'Babar' Raginel Henry Rolofs Rene Rosenberger Bernd Schymanski John S. Skogtvedt Thomas Stolle Stephan Triep Sebastian Waitz Christoph Wegener Reinhard Weh Milos Wimmer Jens Witte Tony Yarusso check_multi-0.26/configure000077500000000000000000003310331166153071500156470ustar00rootroot00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for check_multi 0.26. # # Report bugs to . # # Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` exec 6>&1 # # Initializations. # ac_default_prefix=/usr/local ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME='check_multi' PACKAGE_TARNAME='check_multi' PACKAGE_VERSION='0.26' PACKAGE_STRING='check_multi 0.26' PACKAGE_BUGREPORT='matthias.flacke@gmx.de' ac_default_prefix=/usr/local/nagios ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PKG_NAME PKG_VERSION PKG_AUTHOR PKG_HOME_URL PKG_REL_DATE PKG_ID COMMA SET_MAKE CHMOD CP ETHTOOL GUNZIP ID INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA MAILX PERL client_perl INSTALL INSTALL_OPTS LIBEXECDIR ac_configure_args action_mouseover action_url add_tag_to_list_entries cancel_before_global_timeout child_interval checkresults_dir child_timeout cmdfile_update_interval collapse complain_unknown_macros contrib_dir config_dir datarootdir cumulate_ignore_zero empty_output_is_unknown ethtool exec_open3 extinfo_in_status extended_perfdata feed_passive_autocreate feed_passive_dir feed_passive_dir_permissions findbin file_extension gunzip hostname ignore_missing_cmd_file illegal_chars image_path indent_label indent livestatus loose_perfdata name no_checks_rc objects_cache objects_cache_delimiter omd_environment nagios_name notes_url parent_timeout perfdata_pass_through persistent plugin_path pnp_version pnp_add2url pnp_url report report_inherit_mask service_definition_template signal_rc snmp_community snmp_port status_dat style_plus_minus tag_notes_link target tmp_dir tmp_dir_permissions tmp_etc verbose LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. ac_init_help= ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' ac_prev= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" ac_prev= continue fi ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_option in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "enable_$ac_feature='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=no" ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute paths. for ac_var in exec_prefix prefix do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_confdir=`(dirname "$0") 2>/dev/null || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } else { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi fi (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias ac_cv_env_build_alias_set=${build_alias+set} ac_cv_env_build_alias_value=$build_alias ac_env_host_alias_set=${host_alias+set} ac_env_host_alias_value=$host_alias ac_cv_env_host_alias_set=${host_alias+set} ac_cv_env_host_alias_value=$host_alias ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures check_multi 0.26 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] _ACEOF cat <<_ACEOF Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] _ACEOF cat <<\_ACEOF _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of check_multi 0.26:";; esac cat <<\_ACEOF Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) detail settings: --with-action_url= action URL (default:"") --with-add_tag_to_list_entries=<0|1> add tag as prefix to list entries (default:1) --with-action_mouseover=<0|1> show PNP chart popup triggered by mouseover (default:0) --with-cancel_before_global_timeout=<0|1> cancel checks being *near* a timeout? (default:0) --with-client_perl= sets perl cmdline / path (e.g. #!/usr/bin/perl) --with-cmdfile_update_interval= interval to update command file(s) (default:86400, one day) --with-collapse=<0|1> HTML javascript tree collapse option (default:1) --with-complain_unknown_macros=<0|1> remove unknown macros silently, otherwise complain (default:1) --with-checkresults_dir= directory for Nagios checkresults (default:${localstatedir}/spool/checkresults) --with-child_interval=