http://nagios.sourceforge.net/docs/nagios-3.pdf Using username "root". root@172.30.4.110's password: Last login: Thu May 21 12:24:08 2009 [root@celebrian ~]# rpm -qa | grep httpd httpd-2.2.3-11.el5_2.centos.4 [root@celebrian ~]# rpm -qa | grep gcc libgcc-4.1.2-42.el5 gcc-4.1.2-42.el5 [root@celebrian ~]# rpm -qa | grep glibc glibc-devel-2.5-24.el5_2.2 glibc-common-2.5-24.el5_2.2 glibc-headers-2.5-24.el5_2.2 glibc-2.5-24.el5_2.2 [root@celebrian ~]# man useradd [root@celebrian ~]# useradd -m nagios [root@celebrian ~]# passwd nagios Changing password for user nagios. New UNIX password: Retype new UNIX password: Sorry, passwords do not match. New UNIX password: BAD PASSWORD: it is based on a dictionary word Retype new UNIX password: passwd: all authentication tokens updated successfully. [root@celebrian ~]# groupadd nagcmd [root@celebrian ~]# usermod -a -G nagcmd nagios [root@celebrian ~]# usermod -a -G nagcmd apache [root@celebrian ~]# ls anaconda-ks.cfg depot Desktop install.log install.log.syslog [root@celebrian ~]# cd depot [root@celebrian depot]# ls VMwareTools-1.0.8-126538.i386.rpm VMwareTools-1.0.8-126538.tar.gz [root@celebrian depot]# mkdir nagios [root@celebrian depot]# cd nagios [root@celebrian nagios]# wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0.6.tar.gz --12:33:41-- http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios3.0.6.tar.gz Resolving osdn.dl.sourceforge.net... 216.34.181.56 Connecting to osdn.dl.sourceforge.net|216.34.181.56|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2735504 (2.6M) [application/octet-stream] Saving to: `nagios-3.0.6.tar.gz' 100%[==============================================>] 2,735,504 in 14s 181K/s 12:33:56 (185 KB/s) - `nagios-3.0.6.tar.gz' saved [2735504/2735504] [root@celebrian nagios]# wget http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins1.4.11.tar.gz --12:34:00-- http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagiosplugins-1.4.11.tar.gz Resolving osdn.dl.sourceforge.net... 216.34.181.56 Connecting to osdn.dl.sourceforge.net|216.34.181.56|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1734230 (1.7M) [application/octet-stream] Saving to: `nagios-plugins-1.4.11.tar.gz' 100%[==============================================>] 1,734,230 in 9.1s 187K/s 12:34:09 (187 KB/s) - `nagios-plugins-1.4.11.tar.gz' saved [1734230/1734230] [root@celebrian nagios]# ls nagios-3.0.6.tar.gz nagios-plugins-1.4.11.tar.gz [root@celebrian nagios]# tar xzf nagios-3.0.6.tar.gz [root@celebrian nagios]# cd nagios-3.0.6 [root@celebrian nagios-3.0.6]# ls base configure include make-tarball pkginfo.in UPGRADING cgi configure.in INSTALLING mkpackage README xdata Changelog contrib install-sh module sample-config common daemon-init.in LEGAL nagios.spec subst.in config.guess functions LICENSE OutputTrap.pm THANKS config.sub html Makefile.in p1.pl update-version [root@celebrian nagios-3.0.6]# ./configure --with-command-group=nagcmd checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether make sets $(MAKE)... yes checking for strip... /usr/bin/strip checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking for ctype.h... yes dirent.h usability... yes dirent.h presence... yes for dirent.h... yes errno.h usability... yes errno.h presence... yes for errno.h... yes fcntl.h usability... yes fcntl.h presence... yes for fcntl.h... yes getopt.h usability... yes getopt.h presence... yes for getopt.h... yes grp.h usability... yes grp.h presence... yes for grp.h... yes libgen.h usability... yes libgen.h presence... yes for libgen.h... yes limits.h usability... yes limits.h presence... yes for limits.h... yes math.h usability... yes math.h presence... yes for math.h... yes netdb.h usability... yes netdb.h presence... yes for netdb.h... yes netinet/in.h usability... yes netinet/in.h presence... yes for netinet/in.h... yes pthread.h usability... yes pthread.h presence... yes for pthread.h... yes pthreads.h usability... no pthreads.h presence... no for pthreads.h... no pwd.h usability... yes pwd.h presence... yes for pwd.h... yes regex.h usability... yes regex.h presence... yes for regex.h... yes signal.h usability... yes signal.h presence... yes for signal.h... yes socket.h usability... no socket.h presence... no for socket.h... no stdarg.h usability... yes stdarg.h presence... yes for stdarg.h... yes for string.h... (cached) yes for strings.h... (cached) yes sys/mman.h usability... yes sys/mman.h presence... yes for sys/mman.h... yes checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking for sys/types.h... (cached) yes sys/time.h usability... yes sys/time.h presence... yes for sys/time.h... yes sys/resource.h usability... yes sys/resource.h presence... yes for sys/resource.h... yes for sys/wait.h... (cached) yes sys/socket.h usability... yes sys/socket.h presence... yes for sys/socket.h... yes for sys/stat.h... (cached) yes sys/timeb.h usability... yes sys/timeb.h presence... yes for sys/timeb.h... yes sys/un.h usability... yes sys/un.h presence... yes for sys/un.h... yes sys/ipc.h usability... yes sys/ipc.h presence... yes for sys/ipc.h... yes sys/msg.h usability... yes sys/msg.h presence... yes for sys/msg.h... yes sys/poll.h usability... yes sys/poll.h presence... yes for sys/poll.h... yes syslog.h usability... yes syslog.h presence... yes for syslog.h... yes uio.h usability... no uio.h presence... no for uio.h... no for unistd.h... (cached) yes for an ANSI C-conforming const... yes whether struct tm is in sys/time.h or time.h... time.h for struct tm.tm_zone... yes for mode_t... yes for pid_t... yes for size_t... yes return type of signal handlers... void for uid_t in sys/types.h... yes type of array argument to getgroups... gid_t for va_copy... yes for vsnprintf... yes for snprintf... yes for asprintf... yes for vasprintf... yes for C99 vsnprintf... yes for initgroups... yes for setenv... yes for strdup... yes for strstr... yes for strtoul... yes for unsetenv... yes for type of socket size... size_t for pthread_create in -lcma... no checking for pthread_create in -lpthread... yes checking for library containing nanosleep... none required checking for mail... /bin/mail We'll use default routines (in xdata/xsddefault.*) for status data I/O... We'll use default routines (in xdata/xcddefault.*) for comment data I/O... We'll use default routines (in xdata/xrddefault.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O... checking for main in -liconv... no checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no checking for gdImagePng in -lgd (order 4)... no *** GD, PNG, and/or JPEG libraries could not be located... ********* Boutell's GD library is required to compile the statusmap, trends and histogram CGIs. Get it from http://www.boutell.com/gd/, compile it, and use the --with-gd-lib and --with-gd-inc arguments to specify the locations of the GD library and include files. NOTE: In addition to the gd-devel library, you'll also need to make sure you have the png-devel and jpeg-devel libraries installed on your system. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the GD, PNG, and JPEG libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make clean' in the Nagios distribution to clean out any old references to your previous compile. 4. Rerun the configure script. NOTE: If you can't get the configure script to recognize the GD libs on your system, get over it and move on to other things. The CGIs that use the GD libs are just a small part of the entire Nagios package. Get everything else working first and then revisit the problem. Make sure to check the nagios-users mailing list archives for possible solutions to GD library problems when you resume your troubleshooting. ******************************************************************** Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found checking ltdl.h usability... no checking ltdl.h presence... no checking for ltdl.h... no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for dlopen in -ldl... yes checking for extra flags needed to export symbols... -Wl,-export-dynamic checking for linker flags for loadable modules... -shared checking for traceroute... /bin/traceroute checking for type va_list... yes checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating subst config.status: creating pkginfo config.status: creating base/Makefile config.status: creating common/Makefile config.status: creating contrib/Makefile config.status: creating cgi/Makefile config.status: creating html/Makefile config.status: creating module/Makefile config.status: creating xdata/Makefile config.status: creating daemon-init config.status: creating html/index.html config.status: creating html/side.html config.status: creating include/config.h config.status: creating include/snprintf.h config.status: creating include/cgiutils.h Creating sample config files in sample-config/ ... *** Configuration summary for nagios 3.0.6 12-01-2008 ***: General Options: ------------------------Nagios executable: Nagios user/group: Command user/group: Embedded Perl: Event Broker: Install ${prefix}: Lock file: Check result directory: Init directory: Apache conf.d directory: Mail program: Host OS: nagios nagios,nagios nagios,nagcmd no yes /usr/local/nagios ${prefix}/var/nagios.lock ${prefix}/var/spool/checkresults /etc/rc.d/init.d /etc/httpd/conf.d /bin/mail linux-gnu Web Interface Options: -----------------------HTML URL: CGI URL: Traceroute (used by WAP): http://localhost/nagios/ http://localhost/nagios/cgi-bin/ /bin/traceroute Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. [root@celebrian nagios-3.0.6]# make all [root@celebrian nagios-3.0.6]# make all cd ./base && make make[1]: Entering directory `/root/depot/nagios/nagios-3.0.6/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o nebmods.o nebmods.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o events.o events.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o macros-base.o ../common/macros.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o skiplist.o ../common/skiplist.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o retention-base.o sretention.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o comments-base.o ../common/comments.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xcomments-base.o ../xdata/xcddefault.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o objects-base.o ../common/objects.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xobjects-base.o ../xdata/xodtemplate.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o statusdata-base.o ../common/statusdata.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xstatusdata-base.o ../xdata/xsddefault.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o ../xdata/xpddefault.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o ../common/downtime.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o ../xdata/xdddefault.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretentionbase.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o -Wl,-export-dynamic -lm -lpthread ldl gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagiostats nagiostats.c -lm make[1]: Leaving directory `/root/depot/nagios/nagios-3.0.6/base' cd ./cgi && make make[1]: Entering directory `/root/depot/nagios/nagios-3.0.6/cgi' gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o getcgi.o getcgi.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o cgiutils.o cgiutils.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o cgiauth.o cgiauth.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o macros-cgi.o ../common/macros.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o skiplist.o ../common/skiplist.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o objects-cgi.o ../common/objects.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o xobjects-cgi.o ../xdata/xodtemplate.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o statusdata-cgi.o ../common/statusdata.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o xstatusdata-cgi.o ../xdata/xsddefault.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o comments-cgi.o ../common/comments.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o downtime-cgi.o ../common/downtime.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o avail.cgi avail.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdatacgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o extcmd_list.o extcmd_list.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o cmd.cgi cmd.c extcmd_list.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o config.cgi config.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o extinfo.cgi extinfo.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o history.cgi history.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o notifications.cgi notifications.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtimecgi.o gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o outages.cgi outages.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o showlog.cgi showlog.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o status.cgi status.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statuswml.cgi statuswml.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o summary.cgi summary.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o tac.cgi tac.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdatacgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statuswrl.cgi statuswrl.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lm make[1]: Leaving directory `/root/depot/nagios/nagios-3.0.6/cgi' cd ./html && make make[1]: Entering directory `/root/depot/nagios/nagios-3.0.6/html' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/depot/nagios/nagios-3.0.6/html' if [ xyes = xyes ]; then \ cd ./module && make; \ fi make[1]: Entering directory `/root/depot/nagios/nagios-3.0.6/module' gcc -fPIC -g -O2 -DHAVE_CONFIG_H -o helloworld.o helloworld.c -shared make[1]: Leaving directory `/root/depot/nagios/nagios-3.0.6/module' *** Compile finished *** If the main program and CGIs compiled without any errors, you can continue with installing Nagios as follows (type 'make' without any arguments for a list of all possible options): make install - This installs the main program, CGIs, and HTML files make install-init - This installs the init script in /etc/rc.d/init.d make install-commandmode - This installs and configures permissions on the directory for holding the external command file make install-config - This installs *SAMPLE* config files in /usr/local/nagios/etc You'll have to modify these sample files before you can use Nagios. Read the HTML documentation for more info on doing this. Pay particular attention to the docs on object configuration files, as they determine what/how things get monitored! make install-webconf - This installs the Apache config file for the Nagios web interface *** Support Notes ******************************************* If you have questions about configuring or running Nagios, please make sure that you: - Look at the sample config files - Read the HTML documentation - Read the FAQs online at http://www.nagios.org/faqs before you post a question to one of the mailing lists. Also make sure to include pertinent information that could help others help you. This might include: - What version of Nagios you are using What version of the plugins you are using Relevant snippets from your config files Relevant error messages from the Nagios log file For more information on obtaining support for Nagios, visit: http://www.nagios.org/support/ ************************************************************* Enjoy. [root@celebr [root@celebrian nagios-3.0.6]# make install cd ./base && make install make[1]: Entering directory `/root/depot/nagios/nagios-3.0.6/base' make install-basic make[2]: Entering directory `/root/depot/nagios/nagios-3.0.6/base' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin /usr/bin/install -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin /usr/bin/install -c -m 774 -o nagios -g nagios nagiostats /usr/local/nagios/bin make[2]: Leaving directory `/root/depot/nagios/nagios-3.0.6/base' make strip-post-install make[2]: Entering directory `/root/depot/nagios/nagios-3.0.6/base' /usr/bin/strip /usr/local/nagios/bin/nagios /usr/bin/strip /usr/local/nagios/bin/nagiostats make[2]: Leaving directory `/root/depot/nagios/nagios-3.0.6/base' make[1]: Leaving directory `/root/depot/nagios/nagios-3.0.6/base' cd ./cgi && make install make[1]: Entering directory `/root/depot/nagios/nagios-3.0.6/cgi' make install-basic make[2]: Entering directory `/root/depot/nagios/nagios-3.0.6/cgi' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin for file in *.cgi; do \ /usr/bin/install -c -m 775 -o nagios -g nagios $file /usr/local/nagios/sbin; \ done make[2]: Leaving directory `/root/depot/nagios/nagios-3.0.6/cgi' make strip-post-install make[2]: Entering directory `/root/depot/nagios/nagios-3.0.6/cgi' for file in *.cgi; do \ /usr/bin/strip /usr/local/nagios/sbin/$file; \ done make[2]: Leaving directory `/root/depot/nagios/nagios-3.0.6/cgi' make[1]: Leaving directory `/root/depot/nagios/nagios-3.0.6/cgi' cd ./html && make install make[1]: Entering directory `/root/depot/nagios/nagios-3.0.6/html' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/media /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/stylesheets /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/contexthelp /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs/images /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images/logos /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/ssi /usr/bin/install -c -m 664 -o nagios -g nagios robots.txt /usr/local/nagios/share /usr/bin/install -c -m 664 -o nagios -g nagios docs/robots.txt /usr/local/nagios/share/docs for file in *.html; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share; done for file in stylesheets/*.css; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/stylesheets; done for file in contexthelp/*.html; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/contexthelp; done for file in docs/*.html; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/docs; done for file in docs/images/*.*; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/docs/images; done for file in images/*.gif; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.jpg; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.png; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.ico; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/logos/*.*; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images/logos; done make[1]: Leaving directory `/root/depot/nagios/nagios-3.0.6/html' make install-basic make[1]: Entering directory `/root/depot/nagios/nagios-3.0.6' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var/archives /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var/spool/checkresults if [ no = yes ]; then \ /usr/bin/install -c -m 664 -o nagios -g nagios p1.pl /usr/local/nagios/bin; \ fi; *** Main program, CGIs and HTML files installed *** You can continue with installing Nagios as follows (type 'make' without any arguments for a list of all possible options): make install-init - This installs the init script in /etc/rc.d/init.d make install-commandmode - This installs and configures permissions on the directory for holding the external command file make install-config - This installs sample config files in /usr/local/nagios/etc make[1]: Leaving directory `/root/depot/nagios/nagios-3.0.6' [root@celebrian nagios-3.0.6]# make install-init /usr/bin/install -c -m 755 -d -o root -g root /etc/rc.d/init.d /usr/bin/install -c -m 755 -o root -g root daemon-init /etc/rc.d/init.d/nagios *** Init script installed *** [root@celebrian nagios-3.0.6]# make install-config /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/etc /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/etc/objects /usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/nagios.cfg /usr/local/nagios/etc/nagios.cfg /usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/cgi.cfg /usr/local/nagios/etc/cgi.cfg /usr/bin/install -c -b -m 660 -o nagios -g nagios sample-config/resource.cfg /usr/local/nagios/etc/resource.cfg /usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/templateobject/templates.cfg /usr/local/nagios/etc/objects/templates.cfg /usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/templateobject/commands.cfg /usr/local/nagios/etc/objects/commands.cfg /usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/templateobject/contacts.cfg /usr/local/nagios/etc/objects/contacts.cfg /usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/templateobject/timeperiods.cfg /usr/local/nagios/etc/objects/timeperiods.cfg /usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/templateobject/localhost.cfg /usr/local/nagios/etc/objects/localhost.cfg /usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/templateobject/windows.cfg /usr/local/nagios/etc/objects/windows.cfg /usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/templateobject/printer.cfg /usr/local/nagios/etc/objects/printer.cfg /usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/templateobject/switch.cfg /usr/local/nagios/etc/objects/switch.cfg *** Config files installed *** Remember, these are *SAMPLE* config files. You'll need to read the documentation for more information on how to actually define services, hosts, etc. to fit your particular needs. [root@celebrian nagios-3.0.6]# make install-commandmode /usr/bin/install -c -m 775 -o nagios -g nagcmd -d /usr/local/nagios/var/rw chmod g+s /usr/local/nagios/var/rw *** External command directory configured *** [root@celebrian nagios-3.0.6]#ian nagios-3.0.6]# [root@celebrian nagios-3.0.6]# vi /usr/local/nagios/etc/objects/contacts.cfg [root@celebrian nagios-3.0.6]# cat /usr/local/nagios/etc/objects/contacts.cfg | grep email email root@localhost ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** [root@celebrian nagios-3.0.6]# [root@celebrian nagios-3.0.6]# make install-webconf /usr/bin/install -c -m 644 sample-config/httpd.conf /etc/httpd/conf.d/nagios.conf *** Nagios/Apache conf file installed *** [root@celebrian nagios-3.0.6]# useradd nagiosadmin [root@celebrian nagios-3.0.6]# passwd nagiosadmin Changing password for user nagiosadmin. New UNIX password: BAD PASSWORD: it is based on a dictionary word Retype new UNIX password: passwd: all authentication tokens updated successfully. [root@celebrian nagios-3.0.6]# htpasswd -c /usr/local/nagios/etc/ cgi.cfg nagios.cfg objects/ resource.cfg [root@celebrian nagios-3.0.6]# htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin New password: Re-type new password: Adding password for user nagiosadmin [root@celebrian nagios-3.0.6]# service httpd start Starting httpd: [ OK ] [root@celebrian nagios-3.0.6]# [root@celebrian nagios-3.0.6]# cd .. [root@celebrian nagios]# ls nagios-3.0.6 nagios-3.0.6.tar.gz nagios-plugins-1.4.11.tar.gz [root@celebrian nagios]# tar xzf nagios-plugins-1.4.11.tar.gz [root@celebrian nagios]# cd nagios-plugins-1.4.11 [root@celebrian nagios-plugins-1.4.11]# ./configure --with-nagios-user=nagios --with-nagios-group=nagios checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking for ranlib... ranlib how to run the C preprocessor... gcc -E for grep that handles long lines and -e... /bin/grep for egrep... /bin/grep -E for AIX... no for ANSI C header files... yes for sys/types.h... yes for sys/stat.h... yes for stdlib.h... yes for string.h... yes for memory.h... yes for strings.h... yes for inttypes.h... yes for stdint.h... yes for unistd.h... yes minix/config.h usability... no minix/config.h presence... no for minix/config.h... no whether it is safe to define __EXTENSIONS__... yes whether gcc needs -traditional... no for a sed that does not truncate output... /bin/sed for ld used by gcc... /usr/bin/ld if the linker (/usr/bin/ld) is GNU ld... yes for /usr/bin/ld option to reload object files... -r for BSD-compatible nm... /usr/bin/nm -B whether ln -s works... yes how to recognise dependent libraries... pass_all dlfcn.h usability... yes dlfcn.h presence... yes for dlfcn.h... yes for g++... no for c++... no for gpp... no for aCC... no for CC... no for cxx... no for cc++... no for cl.exe... no for FCC... no for KCC... no for RCC... no for xlC_r... no for xlC... no whether we are using the GNU C++ compiler... no whether g++ accepts -g... no dependency style of g++... none for g77... no for xlf... no for f77... no for frt... no for pgf77... no for cf77... no for fort77... no for fl32... no for af77... no for xlf90... no for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... (cached) ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool checking whether gcc and cc understand -c and -o together... yes checking for error_at_line... yes checking for working strtod... yes checking for python... /usr/bin/python checking for sh... /bin/sh checking for perl... /usr/bin/perl checking for libgnutls-config... no checking for hostname... /bin/hostname checking for basename... /bin/basename checking for main in -ldce... no checking for main in -lnsl... yes checking for socket in -lsocket... no checking for main in -lresolv... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for floor in -lm... yes checking for plan_tests in -ltap... no checking for main in -lcrypt... yes checking for PQsetdbLogin in -lpq... no configure: WARNING: Skipping PostgreSQL plugin (check_pgsql) configure: WARNING: LIBS="-lcrypt " CPPFLAGS="" configure: WARNING: install PostgreSQL libs to compile this plugin (see REQUIREMENTS). checking for rc_read_config in -lradiusclient... no checking for rc_read_config in -lradiusclient-ng... no configure: WARNING: Skipping radius plugin configure: WARNING: install radius libs to compile this plugin (see REQUIREMENTS). checking for main in -lldap... no configure: WARNING: Skipping LDAP plugin configure: WARNING: install LDAP libs to compile this plugin (see REQUIREMENTS). checking linux/hdreg.h usability... yes checking linux/hdreg.h presence... yes checking for linux/hdreg.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking for mysql_config... no configure: WARNING: Skipping mysql plugin configure: WARNING: install mysql client libs to compile this plugin (see REQUIREMENTS). checking for IPv6 support... yes checking krb5.h usability... no checking krb5.h presence... no checking for krb5.h... no checking krb5.h usability... no checking krb5.h presence... no checking for krb5.h... no checking openssl/ssl.h usability... no checking openssl/ssl.h presence... no checking for openssl/ssl.h... no checking openssl/x509.h usability... no checking openssl/x509.h presence... no checking for openssl/x509.h... no checking openssl/rsa.h usability... no checking openssl/rsa.h presence... no checking for openssl/rsa.h... no checking openssl/pem.h usability... no checking openssl/pem.h presence... no checking for openssl/pem.h... no checking openssl/crypto.h usability... no checking openssl/crypto.h presence... no checking for openssl/crypto.h... no checking openssl/err.h usability... no checking openssl/err.h presence... no checking for openssl/err.h... no checking ssl.h usability... no checking ssl.h presence... no checking for ssl.h... no checking x509.h usability... no checking x509.h presence... no checking for x509.h... no checking rsa.h usability... no checking rsa.h presence... no checking for rsa.h... no checking pem.h usability... no checking pem.h presence... no checking for pem.h... no checking crypto.h usability... no checking crypto.h presence... no checking for crypto.h... no checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking for CRYPTO_lock in -lcrypto... no checking gnutls/openssl.h usability... no checking gnutls/openssl.h presence... no checking for gnutls/openssl.h... no configure: WARNING: OpenSSL or GnuTLS libs could not be found or were disabled checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking uio.h usability... no checking uio.h presence... no checking for uio.h... no checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/unistd.h usability... yes checking sys/unistd.h presence... yes checking for sys/unistd.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for va_copy... yes checking for memmove... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for floor... no checking for poll... yes checking return type of socket size... int checking for ps... /bin/ps checking for ps syntax... /bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm args' checking for ping... /bin/ping checking for ping6... /bin/ping6 checking for ICMP ping syntax... /bin/ping -n -U -w %d -c %d %s checking for ICMPv6 ping syntax... /bin/ping6 -n -U -w %d -c %d %s checking for nslookup... /usr/bin/nslookup checking for nslookup syntax... /usr/bin/nslookup -sil checking for number of cpus... sysconf(_SC_NPROCESSORS_CONF) checking for uptime... /usr/bin/uptime checking for rpcinfo... /usr/sbin/rpcinfo checking for lmstat... no configure: WARNING: Get lmstat from Globetrotter Software to monitor flexlm licenses checking for smbclient... /usr/bin/smbclient checking for who... /usr/bin/who checking for snmpget... no configure: WARNING: Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins checking for snmpgetnext... no configure: WARNING: Tried /usr/bin/perl - install Net::SNMP perl module if you want to use the perl snmp plugins checking for quakestat... no checking for qstat... no configure: WARNING: Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin checking for fping... no configure: WARNING: Get fping from http://www.fping.com in order to make check_fping plugin checking for ssh... /usr/bin/ssh checking for mailq... /usr/bin/mailq checking for qmail-qstat... no configure: WARNING: Could not find qmail-qstat or eqivalent checking for swap... no checking for swapinfo... no checking for lsps... no checking for sys/stat.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/swap.h... yes checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking checking whether swapctl is declared... no for swaptbl_t... no for swapent_t... no for struct swapent.se_nblks... no for /proc/meminfo... found /proc/meminfo for dig... /usr/bin/dig for apt-get... no sys/sockio.h usability... no sys/sockio.h presence... no for sys/sockio.h... no whether NLS is requested... yes for msgfmt... /usr/bin/msgfmt for gmsgfmt... /usr/bin/msgfmt for xgettext... /usr/bin/xgettext for msgmerge... /usr/bin/msgmerge for ld used by GCC... /usr/bin/ld if the linker (/usr/bin/ld) is GNU ld... yes for shared library run path origin... done for CFPreferencesCopyAppValue... no for CFLocaleCopyCurrent... no for GNU gettext in libc... yes whether to use NLS... yes where the gettext function comes from... libc for working alloca.h... yes for alloca... yes arpa/inet.h usability... yes arpa/inet.h presence... yes for arpa/inet.h... yes for sys/param.h... (cached) yes sys/vfs.h usability... yes sys/vfs.h presence... yes for sys/vfs.h... yes sys/fs_types.h usability... no sys/fs_types.h presence... no for sys/fs_types.h... no for sys/socket.h... (cached) yes netinet/in.h usability... yes netinet/in.h presence... yes for netinet/in.h... yes netdb.h usability... yes netdb.h presence... yes for netdb.h... yes sys/statvfs.h usability... yes sys/statvfs.h presence... yes for sys/statvfs.h... yes locale.h usability... yes locale.h presence... yes for locale.h... yes for stdint.h... (cached) yes for unistd.h... (cached) yes wchar.h usability... yes wchar.h presence... yes for wchar.h... yes wctype.h usability... yes wctype.h presence... yes for wctype.h... yes whether system is Windows or MSDOS... no checking whether // is distinct from /... no checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking for C/C++ restrict keyword... __restrict checking for IPv4 sockets... yes checking for IPv6 sockets... yes checking for inline... inline checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for getopt_long_only... yes checking whether optreset is declared... no checking for working GNU getopt function... yes checking whether getenv is declared... yes checking for mbstate_t... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking whether <limits.h> defines MIN and MAX... no checking whether <sys/param.h> defines MIN and MAX... yes checking for nl_langinfo and CODESET... yes checking for iswctype... yes checking for mbrtowc... yes checking for mempcpy... yes checking for wcrtomb... yes checking for wcscoll... yes checking for pipe... yes checking for iswcntrl... yes checking for wcwidth... yes checking for ssize_t... yes checking whether snprintf is declared... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for long long int... yes checking for unsigned long long int... yes checking whether strdup is declared... yes checking whether strndup is declared... yes checking whether strnlen is declared... yes checking for EOVERFLOW... yes checking for long double... yes checking for wchar_t... yes checking for wint_t... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking whether vsnprintf is declared... yes checking for alloca as a compiler built-in... yes checking whether // is distinct from /... (cached) no checking for error_at_line... (cached) yes checking for sys/mount.h... yes configure: checking how to get file system space usage checking for statvfs function (SVR4)... no checking for 3-argument statfs function (DEC OSF/1)... no checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... yes checking dustat.h usability... no checking dustat.h presence... no checking for dustat.h... no checking sys/fs/s5param.h usability... no checking sys/fs/s5param.h presence... no checking for sys/fs/s5param.h... no checking sys/filsys.h usability... no checking sys/filsys.h presence... no checking for sys/filsys.h... no checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking for statfs that truncates block counts... no configure: checking how to do getaddrinfo, freeaddrinfo and getnameinfo checking for library containing getaddrinfo... none required checking for getaddrinfo... yes checking for gai_strerror... yes checking for library containing gethostbyname... none required checking for library containing getservbyname... none required checking for gethostbyname... yes checking whether getaddrinfo is declared... yes checking whether freeaddrinfo is declared... yes checking whether gai_strerror is declared... yes checking whether getnameinfo is declared... yes checking for struct addrinfo... yes checking for gethostname... yes checking for getloadavg... yes checking for pstat_getdynamic... no checking for kstat_open in -lkstat... no checking for getloadavg... yes checking whether getloadavg requires setgid... no checking for inet_ntop... yes checking whether inet_ntop is declared... yes checking whether the compiler generally respects inline... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for memchr... yes checking for listmntent... no checking for getmntinfo... no checking for sys/ucred.h... no checking for sys/mount.h... (cached) yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking for sys/fs_types.h... (cached) no checking for struct fsstat.f_fstypename... no checking for library containing getmntent... none required checking for getmntent... yes checking for listmntent of Cray/Unicos-9... no checking for mntctl function and struct vmount... no checking for one-argument getmntent function... yes checking sys/mntent.h usability... no checking sys/mntent.h presence... no checking for sys/mntent.h... no checking for struct statfs.f_fstypename... no checking for working re_compile_pattern... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for snprintf... yes checking for socklen_t... yes checking for ssize_t... (cached) yes checking absolute name of <stdint.h>... ///usr/include/stdint.h checking whether stdint.h conforms to C99... yes checking for strncasecmp... yes checking whether strncasecmp is declared... yes checking for strdup... (cached) yes checking for working strndup... yes checking for working strnlen... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for unistd.h... (cached) yes checking absolute name of <unistd.h>... ///usr/include/unistd.h checking for vasnprintf... no checking for ptrdiff_t... yes checking for snprintf... (cached) yes checking for wcslen... yes checking for vasprintf... yes checking for vsnprintf... yes checking whether <wchar.h> is standalone... yes checking absolute name of <wctype.h>... ///usr/include/wctype.h checking whether wcwidth is declared... yes checking for stdint.h... (cached) yes configure: creating ./config.status config.status: creating gl/Makefile config.status: creating Makefile config.status: creating lib/Makefile config.status: creating plugins/Makefile config.status: creating lib/tests/Makefile config.status: creating plugins-root/Makefile config.status: creating plugins-scripts/Makefile config.status: creating plugins-scripts/subst config.status: creating plugins-scripts/utils.pm config.status: creating plugins-scripts/utils.sh config.status: creating perlmods/Makefile config.status: creating command.cfg config.status: creating test.pl config.status: creating pkg/solaris/pkginfo config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile --with-apt-get-command: --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s --with-ping-command: /bin/ping -n -U -w %d -c %d %s --with-ipv6: yes --with-mysql: no --with-openssl: no --with-gnutls: no --with-perl: /usr/bin/perl --enable-perl-modules: no --with-cgiurl: /nagios/cgi-bin --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin [root@celebrian nagios-plugins-1.4.11]# [root@celebrian nagios-plugins-1.4.11]# make make all-recursive make[1]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11' Making all in gl make[2]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11/gl' { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat ./alloca_.h; \ } > alloca.h-t mv -f alloca.h-t alloca.h make all-am make[3]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11/gl' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT full-read.o -MD MP -MF ".deps/full-read.Tpo" -c -o full-read.o full-read.c; \ then mv -f ".deps/full-read.Tpo" ".deps/full-read.Po"; else rm -f ".deps/full-read.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT full-write.o -MD -MP -MF ".deps/full-write.Tpo" -c -o full-write.o full-write.c; \ then mv -f ".deps/full-write.Tpo" ".deps/full-write.Po"; else rm -f ".deps/full-write.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT strnlen1.o -MD MP -MF ".deps/strnlen1.Tpo" -c -o strnlen1.o strnlen1.c; \ then mv -f ".deps/strnlen1.Tpo" ".deps/strnlen1.Po"; else rm -f ".deps/strnlen1.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT xalloc-die.o -MD -MP -MF ".deps/xalloc-die.Tpo" -c -o xalloc-die.o xalloc-die.c; \ then mv -f ".deps/xalloc-die.Tpo" ".deps/xalloc-die.Po"; else rm -f ".deps/xalloc-die.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT xstrndup.o -MD MP -MF ".deps/xstrndup.Tpo" -c -o xstrndup.o xstrndup.c; \ then mv -f ".deps/xstrndup.Tpo" ".deps/xstrndup.Po"; else rm -f ".deps/xstrndup.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT asnprintf.o -MD MP -MF ".deps/asnprintf.Tpo" -c -o asnprintf.o asnprintf.c; \ then mv -f ".deps/asnprintf.Tpo" ".deps/asnprintf.Po"; else rm -f ".deps/asnprintf.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT basename.o -MD MP -MF ".deps/basename.Tpo" -c -o basename.o basename.c; \ then mv -f ".deps/basename.Tpo" ".deps/basename.Po"; else rm -f ".deps/basename.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT c-strtod.o -MD MP -MF ".deps/c-strtod.Tpo" -c -o c-strtod.o c-strtod.c; \ then mv -f ".deps/c-strtod.Tpo" ".deps/c-strtod.Po"; else rm -f ".deps/c-strtod.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT cloexec.o -MD -MP -MF ".deps/cloexec.Tpo" -c -o cloexec.o cloexec.c; \ then mv -f ".deps/cloexec.Tpo" ".deps/cloexec.Po"; else rm -f ".deps/cloexec.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT creat-safer.o -MD -MP -MF ".deps/creat-safer.Tpo" -c -o creat-safer.o creat-safer.c; \ then mv -f ".deps/creat-safer.Tpo" ".deps/creat-safer.Po"; else rm -f ".deps/creat-safer.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT dirname.o -MD -MP -MF ".deps/dirname.Tpo" -c -o dirname.o dirname.c; \ then mv -f ".deps/dirname.Tpo" ".deps/dirname.Po"; else rm -f ".deps/dirname.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT dup-safer.o -MD MP -MF ".deps/dup-safer.Tpo" -c -o dup-safer.o dup-safer.c; \ then mv -f ".deps/dup-safer.Tpo" ".deps/dup-safer.Po"; else rm -f ".deps/dup-safer.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT exitfail.o -MD MP -MF ".deps/exitfail.Tpo" -c -o exitfail.o exitfail.c; \ then mv -f ".deps/exitfail.Tpo" ".deps/exitfail.Po"; else rm -f ".deps/exitfail.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT fd-safer.o -MD MP -MF ".deps/fd-safer.Tpo" -c -o fd-safer.o fd-safer.c; \ then mv -f ".deps/fd-safer.Tpo" ".deps/fd-safer.Po"; else rm -f ".deps/fd-safer.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT fsusage.o -MD -MP -MF ".deps/fsusage.Tpo" -c -o fsusage.o fsusage.c; \ then mv -f ".deps/fsusage.Tpo" ".deps/fsusage.Po"; else rm -f ".deps/fsusage.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT mbchar.o -MD -MP -MF ".deps/mbchar.Tpo" -c -o mbchar.o mbchar.c; \ then mv -f ".deps/mbchar.Tpo" ".deps/mbchar.Po"; else rm -f ".deps/mbchar.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT mountlist.o -MD MP -MF ".deps/mountlist.Tpo" -c -o mountlist.o mountlist.c; \ then mv -f ".deps/mountlist.Tpo" ".deps/mountlist.Po"; else rm -f ".deps/mountlist.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT open-safer.o -MD -MP -MF ".deps/open-safer.Tpo" -c -o open-safer.o open-safer.c; \ then mv -f ".deps/open-safer.Tpo" ".deps/open-safer.Po"; else rm -f ".deps/open-safer.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT pipe-safer.o -MD -MP -MF ".deps/pipe-safer.Tpo" -c -o pipe-safer.o pipe-safer.c; \ then mv -f ".deps/pipe-safer.Tpo" ".deps/pipe-safer.Po"; else rm -f ".deps/pipe-safer.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT printf-args.o -MD -MP -MF ".deps/printf-args.Tpo" -c -o printf-args.o printf-args.c; \ then mv -f ".deps/printf-args.Tpo" ".deps/printf-args.Po"; else rm -f ".deps/printf-args.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT printf-parse.o MD -MP -MF ".deps/printf-parse.Tpo" -c -o printf-parse.o printf-parse.c; \ then mv -f ".deps/printf-parse.Tpo" ".deps/printf-parse.Po"; else rm -f ".deps/printf-parse.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT safe-read.o -MD MP -MF ".deps/safe-read.Tpo" -c -o safe-read.o safe-read.c; \ then mv -f ".deps/safe-read.Tpo" ".deps/safe-read.Po"; else rm -f ".deps/safe-read.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT safe-write.o -MD -MP -MF ".deps/safe-write.Tpo" -c -o safe-write.o safe-write.c; \ then mv -f ".deps/safe-write.Tpo" ".deps/safe-write.Po"; else rm -f ".deps/safe-write.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT strcasecmp.o -MD -MP -MF ".deps/strcasecmp.Tpo" -c -o strcasecmp.o strcasecmp.c; \ then mv -f ".deps/strcasecmp.Tpo" ".deps/strcasecmp.Po"; else rm -f ".deps/strcasecmp.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT stripslash.o -MD -MP -MF ".deps/stripslash.Tpo" -c -o stripslash.o stripslash.c; \ then mv -f ".deps/stripslash.Tpo" ".deps/stripslash.Po"; else rm -f ".deps/stripslash.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT vasnprintf.o -MD -MP -MF ".deps/vasnprintf.Tpo" -c -o vasnprintf.o vasnprintf.c; \ then mv -f ".deps/vasnprintf.Tpo" ".deps/vasnprintf.Po"; else rm -f ".deps/vasnprintf.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT xmalloc.o -MD -MP -MF ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; \ then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f ".deps/xmalloc.Tpo"; exit 1; fi rm -f libgnu.a ar cru libgnu.a full-read.o full-write.o strnlen1.o xalloc-die.o xstrndup.o asnprintf.o basename.o c-strtod.o cloexec.o creat-safer.o dirname.o dupsafer.o exitfail.o fd-safer.o fsusage.o mbchar.o mountlist.o open-safer.o pipe-safer.o printf-args.o printf-parse.o safe-read.o safe-write.o strcasecmp.o stripslash.o vasnprintf.o xmalloc.o ranlib libgnu.a make[3]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/gl' make[2]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/gl' Making all in lib make[2]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11/lib' Making all in tests make[3]: Entering directory `/root/depot/nagios/nagios-plugins1.4.11/lib/tests' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/root/depot/nagios/nagios-plugins1.4.11/lib/tests' make[3]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11/lib' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../gl -I../intl -I../plugins -g -O2 -MT utils_base.o -MD -MP -MF ".deps/utils_base.Tpo" -c -o utils_base.o utils_base.c; \ then mv -f ".deps/utils_base.Tpo" ".deps/utils_base.Po"; else rm -f ".deps/utils_base.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../gl -I../intl -I../plugins -g -O2 -MT utils_disk.o -MD -MP -MF ".deps/utils_disk.Tpo" -c -o utils_disk.o utils_disk.c; \ then mv -f ".deps/utils_disk.Tpo" ".deps/utils_disk.Po"; else rm -f ".deps/utils_disk.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../gl -I../intl -I../plugins -g -O2 -MT utils_tcp.o -MD -MP -MF ".deps/utils_tcp.Tpo" -c -o utils_tcp.o utils_tcp.c; \ then mv -f ".deps/utils_tcp.Tpo" ".deps/utils_tcp.Po"; else rm -f ".deps/utils_tcp.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../gl -I../intl -I../plugins -g -O2 -MT utils_cmd.o -MD -MP -MF ".deps/utils_cmd.Tpo" -c -o utils_cmd.o utils_cmd.c; \ then mv -f ".deps/utils_cmd.Tpo" ".deps/utils_cmd.Po"; else rm -f ".deps/utils_cmd.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../gl -I../intl -I../plugins -g -O2 -MT base64.o -MD -MP -MF ".deps/base64.Tpo" -c -o base64.o base64.c; \ then mv -f ".deps/base64.Tpo" ".deps/base64.Po"; else rm -f ".deps/base64.Tpo"; exit 1; fi rm -f libnagiosplug.a ar cru libnagiosplug.a utils_base.o utils_disk.o utils_tcp.o utils_cmd.o base64.o ranlib libnagiosplug.a make[3]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/lib' make[2]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/lib' Making all in plugins make[2]: Entering directory `/root/depot/nagios/nagios-plugins1.4.11/plugins' if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_apt.o -MD -MP -MF ".deps/check_apt.Tpo" -c -o check_apt.o check_apt.c; \ then mv -f ".deps/check_apt.Tpo" ".deps/check_apt.Po"; else rm -f ".deps/check_apt.Tpo"; exit 1; fi if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT utils.o MD -MP -MF ".deps/utils.Tpo" -c -o utils.o utils.c; \ then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT runcmd.o -MD -MP -MF ".deps/runcmd.Tpo" -c -o runcmd.o runcmd.c; \ then mv -f ".deps/runcmd.Tpo" ".deps/runcmd.Po"; else rm -f ".deps/runcmd.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o mkdir .libs gcc -g -O2 -o check_apt check_apt.o utils.o runcmd.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_cluster.o -MD -MP -MF ".deps/check_cluster.Tpo" -c -o check_cluster.o check_cluster.c; \ then mv -f ".deps/check_cluster.Tpo" ".deps/check_cluster.Po"; else rm -f ".deps/check_cluster.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_cluster check_cluster.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a gcc -g -O2 -o check_cluster check_cluster.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_disk.o -MD -MP -MF ".deps/check_disk.Tpo" -c -o check_disk.o check_disk.c; \ then mv -f ".deps/check_disk.Tpo" ".deps/check_disk.Po"; else rm -f ".deps/check_disk.Tpo"; exit 1; fi if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT popen.o MD -MP -MF ".deps/popen.Tpo" -c -o popen.o popen.c; \ then mv -f ".deps/popen.Tpo" ".deps/popen.Po"; else rm -f ".deps/popen.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o gcc -g -O2 -o check_disk check_disk.o utils.o popen.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_dummy.o -MD -MP -MF ".deps/check_dummy.Tpo" -c -o check_dummy.o check_dummy.c; \ then mv -f ".deps/check_dummy.Tpo" ".deps/check_dummy.Po"; else rm -f ".deps/check_dummy.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_dummy check_dummy.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a gcc -g -O2 -o check_dummy check_dummy.o utils.o -L/root/depot/nagios/nagiosplugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_http.o -MD -MP -MF ".deps/check_http.Tpo" -c -o check_http.o check_http.c; \ then mv -f ".deps/check_http.Tpo" ".deps/check_http.Po"; else rm -f ".deps/check_http.Tpo"; exit 1; fi if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT sslutils.o -MD -MP -MF ".deps/sslutils.Tpo" -c -o sslutils.o sslutils.c; \ then mv -f ".deps/sslutils.Tpo" ".deps/sslutils.Po"; else rm -f ".deps/sslutils.Tpo"; exit 1; fi if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT netutils.o -MD -MP -MF ".deps/netutils.Tpo" -c -o netutils.o netutils.c; \ then mv -f ".deps/netutils.Tpo" ".deps/netutils.Po"; else rm -f ".deps/netutils.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_http check_http.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_load.o -MD -MP -MF ".deps/check_load.Tpo" -c -o check_load.o check_load.c; \ then mv -f ".deps/check_load.Tpo" ".deps/check_load.Po"; else rm -f ".deps/check_load.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_load check_load.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o gcc -g -O2 -o check_load check_load.o utils.o popen.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_mrtg.o -MD -MP -MF ".deps/check_mrtg.Tpo" -c -o check_mrtg.o check_mrtg.c; \ then mv -f ".deps/check_mrtg.Tpo" ".deps/check_mrtg.Po"; else rm -f ".deps/check_mrtg.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_mrtg check_mrtg.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a gcc -g -O2 -o check_mrtg check_mrtg.o utils.o -L/root/depot/nagios/nagiosplugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_mrtgtraf.o -MD -MP -MF ".deps/check_mrtgtraf.Tpo" -c -o check_mrtgtraf.o check_mrtgtraf.c; \ then mv -f ".deps/check_mrtgtraf.Tpo" ".deps/check_mrtgtraf.Po"; else rm -f ".deps/check_mrtgtraf.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_mrtgtraf check_mrtgtraf.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a gcc -g -O2 -o check_mrtgtraf check_mrtgtraf.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_ntp.o -MD -MP -MF ".deps/check_ntp.Tpo" -c -o check_ntp.o check_ntp.c; \ then mv -f ".deps/check_ntp.Tpo" ".deps/check_ntp.Po"; else rm -f ".deps/check_ntp.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_ntp check_ntp.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl lresolv -lm gcc -g -O2 -o check_ntp check_ntp.o netutils.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lm if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_ntp_peer.o -MD -MP -MF ".deps/check_ntp_peer.Tpo" -c -o check_ntp_peer.o check_ntp_peer.c; \ then mv -f ".deps/check_ntp_peer.Tpo" ".deps/check_ntp_peer.Po"; else rm -f ".deps/check_ntp_peer.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_ntp_peer check_ntp_peer.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a lnsl -lresolv -lm gcc -g -O2 -o check_ntp_peer check_ntp_peer.o netutils.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lm if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_nwstat.o -MD -MP -MF ".deps/check_nwstat.Tpo" -c -o check_nwstat.o check_nwstat.c; \ then mv -f ".deps/check_nwstat.Tpo" ".deps/check_nwstat.Po"; else rm -f ".deps/check_nwstat.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_nwstat check_nwstat.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a lnsl -lresolv gcc -g -O2 -o check_nwstat check_nwstat.o netutils.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_overcr.o -MD -MP -MF ".deps/check_overcr.Tpo" -c -o check_overcr.o check_overcr.c; \ then mv -f ".deps/check_overcr.Tpo" ".deps/check_overcr.Po"; else rm -f ".deps/check_overcr.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_overcr check_overcr.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a lnsl -lresolv gcc -g -O2 -o check_overcr check_overcr.o netutils.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_ping.o -MD -MP -MF ".deps/check_ping.Tpo" -c -o check_ping.o check_ping.c; \ then mv -f ".deps/check_ping.Tpo" ".deps/check_ping.Po"; else rm -f ".deps/check_ping.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_ping check_ping.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv popen.o gcc -g -O2 -o check_ping check_ping.o netutils.o utils.o popen.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_real.o -MD -MP -MF ".deps/check_real.Tpo" -c -o check_real.o check_real.c; \ then mv -f ".deps/check_real.Tpo" ".deps/check_real.Po"; else rm -f ".deps/check_real.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_real check_real.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv gcc -g -O2 -o check_real check_real.o netutils.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_smtp.o -MD -MP -MF ".deps/check_smtp.Tpo" -c -o check_smtp.o check_smtp.c; \ then mv -f ".deps/check_smtp.Tpo" ".deps/check_smtp.Po"; else rm -f ".deps/check_smtp.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_smtp check_smtp.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv gcc -g -O2 -o check_smtp check_smtp.o sslutils.o netutils.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_ssh.o -MD -MP -MF ".deps/check_ssh.Tpo" -c -o check_ssh.o check_ssh.c; \ then mv -f ".deps/check_ssh.Tpo" ".deps/check_ssh.Po"; else rm -f ".deps/check_ssh.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_ssh check_ssh.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl lresolv gcc -g -O2 -o check_ssh check_ssh.o netutils.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_tcp.o -MD -MP -MF ".deps/check_tcp.Tpo" -c -o check_tcp.o check_tcp.c; \ then mv -f ".deps/check_tcp.Tpo" ".deps/check_tcp.Po"; else rm -f ".deps/check_tcp.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_tcp check_tcp.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv gcc -g -O2 -o check_tcp check_tcp.o sslutils.o netutils.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_time.o -MD -MP -MF ".deps/check_time.Tpo" -c -o check_time.o check_time.c; \ then mv -f ".deps/check_time.Tpo" ".deps/check_time.Po"; else rm -f ".deps/check_time.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_time check_time.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv gcc -g -O2 -o check_time check_time.o netutils.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_ntp_time.o -MD -MP -MF ".deps/check_ntp_time.Tpo" -c -o check_ntp_time.o check_ntp_time.c; \ then mv -f ".deps/check_ntp_time.Tpo" ".deps/check_ntp_time.Po"; else rm -f ".deps/check_ntp_time.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_ntp_time check_ntp_time.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a lnsl -lresolv -lm gcc -g -O2 -o check_ntp_time check_ntp_time.o netutils.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lm if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_ups.o -MD -MP -MF ".deps/check_ups.Tpo" -c -o check_ups.o check_ups.c; \ then mv -f ".deps/check_ups.Tpo" ".deps/check_ups.Po"; else rm -f ".deps/check_ups.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_ups check_ups.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl lresolv gcc -g -O2 -o check_ups check_ups.o netutils.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_users.o -MD -MP -MF ".deps/check_users.Tpo" -c -o check_users.o check_users.c; \ then mv -f ".deps/check_users.Tpo" ".deps/check_users.Po"; else rm -f ".deps/check_users.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_users check_users.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o gcc -g -O2 -o check_users check_users.o utils.o popen.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT negate.o -MD -MP -MF ".deps/negate.Tpo" -c -o negate.o negate.c; \ then mv -f ".deps/negate.Tpo" ".deps/negate.Po"; else rm -f ".deps/negate.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o negate negate.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a gcc -g -O2 -o negate negate.o utils.o -L/root/depot/nagios/nagios-plugins1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT urlize.o -MD -MP -MF ".deps/urlize.Tpo" -c -o urlize.o urlize.c; \ then mv -f ".deps/urlize.Tpo" ".deps/urlize.Po"; else rm -f ".deps/urlize.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o urlize urlize.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o gcc -g -O2 -o urlize urlize.o utils.o popen.o -L/root/depot/nagios/nagiosplugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_ide_smart.o -MD -MP -MF ".deps/check_ide_smart.Tpo" -c -o check_ide_smart.o check_ide_smart.c; \ then mv -f ".deps/check_ide_smart.Tpo" ".deps/check_ide_smart.Po"; else rm -f ".deps/check_ide_smart.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_ide_smart check_ide_smart.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a gcc -g -O2 -o check_ide_smart check_ide_smart.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_procs.o -MD -MP -MF ".deps/check_procs.Tpo" -c -o check_procs.o check_procs.c; \ then mv -f ".deps/check_procs.Tpo" ".deps/check_procs.Po"; else rm -f ".deps/check_procs.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_procs check_procs.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o gcc -g -O2 -o check_procs check_procs.o utils.o popen.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_nagios.o -MD -MP -MF ".deps/check_nagios.Tpo" -c -o check_nagios.o check_nagios.c; \ then mv -f ".deps/check_nagios.Tpo" ".deps/check_nagios.Po"; else rm -f ".deps/check_nagios.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_nagios check_nagios.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o gcc -g -O2 -o check_nagios check_nagios.o utils.o runcmd.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_dns.o -MD -MP -MF ".deps/check_dns.Tpo" -c -o check_dns.o check_dns.c; \ then mv -f ".deps/check_dns.Tpo" ".deps/check_dns.Po"; else rm -f ".deps/check_dns.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_dns check_dns.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl lresolv runcmd.o gcc -g -O2 -o check_dns check_dns.o netutils.o utils.o runcmd.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_by_ssh.o -MD -MP -MF ".deps/check_by_ssh.Tpo" -c -o check_by_ssh.o check_by_ssh.c; \ then mv -f ".deps/check_by_ssh.Tpo" ".deps/check_by_ssh.Po"; else rm -f ".deps/check_by_ssh.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_by_ssh check_by_ssh.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a lnsl -lresolv runcmd.o gcc -g -O2 -o check_by_ssh check_by_ssh.o netutils.o utils.o runcmd.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_swap.o -MD -MP -MF ".deps/check_swap.Tpo" -c -o check_swap.o check_swap.c; \ then mv -f ".deps/check_swap.Tpo" ".deps/check_swap.Po"; else rm -f ".deps/check_swap.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_swap check_swap.o -lm utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o gcc -g -O2 -o check_swap check_swap.o utils.o popen.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins -lm ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_dig.o -MD -MP -MF ".deps/check_dig.Tpo" -c -o check_dig.o check_dig.c; \ then mv -f ".deps/check_dig.Tpo" ".deps/check_dig.Po"; else rm -f ".deps/check_dig.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_dig check_dig.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl lresolv runcmd.o gcc -g -O2 -o check_dig check_dig.o netutils.o utils.o runcmd.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -g -O2 -MT check_nt.o -MD -MP -MF ".deps/check_nt.Tpo" -c -o check_nt.o check_nt.c; \ then mv -f ".deps/check_nt.Tpo" ".deps/check_nt.Po"; else rm -f ".deps/check_nt.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_nt check_nt.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl lresolv gcc -g -O2 -o check_nt check_nt.o netutils.o utils.o L/root/depot/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv rm -f check_ftp ln -s check_tcp check_ftp rm -f check_imap ln -s check_tcp check_imap rm -f check_nntp ln -s check_tcp check_nntp rm -f check_pop ln -s check_tcp check_pop rm -f check_udp ln -s check_tcp check_udp rm -f check_clamd ln -s check_tcp check_clamd make[2]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/plugins' Making all in plugins-scripts make[2]: Entering directory `/root/depot/nagios/nagios-plugins1.4.11/plugins-scripts' gawk -f ./subst check_breeze.pl > check_breeze chmod +x check_breeze gawk -f ./subst check_disk_smb.pl > check_disk_smb chmod +x check_disk_smb gawk -f ./subst check_flexlm.pl > check_flexlm chmod +x check_flexlm gawk -f ./subst check_ircd.pl > check_ircd chmod +x check_ircd gawk -f ./subst check_log.sh > check_log chmod +x check_log gawk -f ./subst check_oracle.sh > check_oracle chmod +x check_oracle gawk -f ./subst check_rpc.pl > check_rpc chmod +x check_rpc gawk -f ./subst check_sensors.sh > check_sensors chmod +x check_sensors gawk -f ./subst check_wave.pl > check_wave chmod +x check_wave gawk -f ./subst check_ifstatus.pl > check_ifstatus chmod +x check_ifstatus gawk -f ./subst check_ifoperstatus.pl > check_ifoperstatus chmod +x check_ifoperstatus gawk -f ./subst check_mailq.pl > check_mailq chmod +x check_mailq gawk -f ./subst check_file_age.pl > check_file_age chmod +x check_file_age make[2]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/pluginsscripts' Making all in plugins-root make[2]: Entering directory `/root/depot/nagios/nagios-plugins1.4.11/plugins-root' if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I../plugins -I/usr/include -g -O2 MT check_dhcp.o -MD -MP -MF ".deps/check_dhcp.Tpo" -c -o check_dhcp.o check_dhcp.c; \ then mv -f ".deps/check_dhcp.Tpo" ".deps/check_dhcp.Po"; else rm -f ".deps/check_dhcp.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_dhcp check_dhcp.o ../plugins/netutils.o ../plugins/utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv mkdir .libs gcc -g -O2 -o check_dhcp check_dhcp.o ../plugins/netutils.o ../plugins/utils.o -L/root/depot/nagios/nagios-plugins-1.4.11/plugins-root ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I../plugins -I/usr/include -g -O2 MT check_icmp.o -MD -MP -MF ".deps/check_icmp.Tpo" -c -o check_icmp.o check_icmp.c; \ then mv -f ".deps/check_icmp.Tpo" ".deps/check_icmp.Po"; else rm -f ".deps/check_icmp.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_icmp check_icmp.o ../plugins/netutils.o ../plugins/utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lnsl -lresolv gcc -g -O2 -o check_icmp check_icmp.o ../plugins/netutils.o ../plugins/utils.o -L/root/depot/nagios/nagios-plugins-1.4.11/plugins-root ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv make[2]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/pluginsroot' Making all in po make[2]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/po' make[2]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11' make[1]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11' [root@celebrian nagios-plugins-1.4.11]# [root@celebrian nagios-plugins-1.4.11]# make install Making install in gl make[1]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11/gl' make install-am make[2]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11/gl' make[3]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11/gl' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/gl' make[2]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/gl' make[1]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/gl' Making install in lib make[1]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11/lib' Making install in tests make[2]: Entering directory `/root/depot/nagios/nagios-plugins1.4.11/lib/tests' make[3]: Entering directory `/root/depot/nagios/nagios-plugins1.4.11/lib/tests' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/root/depot/nagios/nagios-plugins1.4.11/lib/tests' make[2]: Leaving directory `/root/depot/nagios/nagios-plugins1.4.11/lib/tests' make[2]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11/lib' make[3]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11/lib' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/lib' make[2]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/lib' make[1]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/lib' Making install in plugins make[1]: Entering directory `/root/depot/nagios/nagios-plugins1.4.11/plugins' make[2]: Entering directory `/root/depot/nagios/nagios-plugins1.4.11/plugins' test -z "/usr/local/nagios/libexec" || mkdir -p -"/usr/local/nagios/libexec" /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios -g nagios 'check_apt' '/usr/local/nagios/libexec/check_apt' /usr/bin/install -c -o nagios -g nagios check_apt /usr/local/nagios/libexec/check_apt /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios -g nagios 'check_cluster' '/usr/local/nagios/libexec/check_cluster' /usr/bin/install -c -o nagios -g nagios check_cluster /usr/local/nagios/libexec/check_cluster /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_disk' '/usr/local/nagios/libexec/check_disk' /usr/bin/install -c -o nagios -g nagios check_disk /usr/local/nagios/libexec/check_disk /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_dummy' '/usr/local/nagios/libexec/check_dummy' /usr/bin/install -c -o nagios -g nagios check_dummy /usr/local/nagios/libexec/check_dummy /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_http' '/usr/local/nagios/libexec/check_http' /usr/bin/install -c -o nagios -g nagios check_http /usr/local/nagios/libexec/check_http /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_load' '/usr/local/nagios/libexec/check_load' /usr/bin/install -c -o nagios -g nagios check_load /usr/local/nagios/libexec/check_load /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_mrtg' '/usr/local/nagios/libexec/check_mrtg' /usr/bin/install -c -o nagios -g nagios check_mrtg /usr/local/nagios/libexec/check_mrtg /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_mrtgtraf' '/usr/local/nagios/libexec/check_mrtgtraf' /usr/bin/install -c -o nagios -g nagios check_mrtgtraf /usr/local/nagios/libexec/check_mrtgtraf /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_ntp' '/usr/local/nagios/libexec/check_ntp' /usr/bin/install -c -o nagios -g nagios check_ntp /usr/local/nagios/libexec/check_ntp /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_ntp_peer' '/usr/local/nagios/libexec/check_ntp_peer' /usr/bin/install -c -o nagios -g nagios check_ntp_peer /usr/local/nagios/libexec/check_ntp_peer /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_nwstat' '/usr/local/nagios/libexec/check_nwstat' /usr/bin/install -c -o nagios -g nagios check_nwstat /usr/local/nagios/libexec/check_nwstat /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_overcr' '/usr/local/nagios/libexec/check_overcr' /usr/bin/install -c -o nagios -g nagios check_overcr /usr/local/nagios/libexec/check_overcr /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_ping' '/usr/local/nagios/libexec/check_ping' /usr/bin/install -c -o nagios -g nagios check_ping /usr/local/nagios/libexec/check_ping /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_real' '/usr/local/nagios/libexec/check_real' /usr/bin/install -c -o nagios -g nagios check_real /usr/local/nagios/libexec/check_real /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_smtp' '/usr/local/nagios/libexec/check_smtp' /usr/bin/install -c -o nagios -g nagios check_smtp /usr/local/nagios/libexec/check_smtp /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_ssh' '/usr/local/nagios/libexec/check_ssh' -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios /usr/bin/install -c -o nagios -g nagios check_ssh /usr/local/nagios/libexec/check_ssh /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_tcp' '/usr/local/nagios/libexec/check_tcp' /usr/bin/install -c -o nagios -g nagios check_tcp /usr/local/nagios/libexec/check_tcp /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_time' '/usr/local/nagios/libexec/check_time' /usr/bin/install -c -o nagios -g nagios check_time /usr/local/nagios/libexec/check_time /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_ntp_time' '/usr/local/nagios/libexec/check_ntp_time' /usr/bin/install -c -o nagios -g nagios check_ntp_time /usr/local/nagios/libexec/check_ntp_time /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_ups' '/usr/local/nagios/libexec/check_ups' /usr/bin/install -c -o nagios -g nagios check_ups /usr/local/nagios/libexec/check_ups /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_users' '/usr/local/nagios/libexec/check_users' /usr/bin/install -c -o nagios -g nagios check_users /usr/local/nagios/libexec/check_users /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'negate' '/usr/local/nagios/libexec/negate' /usr/bin/install -c -o nagios -g nagios negate /usr/local/nagios/libexec/negate /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'urlize' '/usr/local/nagios/libexec/urlize' /usr/bin/install -c -o nagios -g nagios urlize /usr/local/nagios/libexec/urlize /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_ide_smart' '/usr/local/nagios/libexec/check_ide_smart' /usr/bin/install -c -o nagios -g nagios check_ide_smart /usr/local/nagios/libexec/check_ide_smart /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_procs' '/usr/local/nagios/libexec/check_procs' /usr/bin/install -c -o nagios -g nagios check_procs /usr/local/nagios/libexec/check_procs /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_nagios' '/usr/local/nagios/libexec/check_nagios' /usr/bin/install -c -o nagios -g nagios check_nagios /usr/local/nagios/libexec/check_nagios /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_dns' '/usr/local/nagios/libexec/check_dns' /usr/bin/install -c -o nagios -g nagios check_dns /usr/local/nagios/libexec/check_dns /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_by_ssh' '/usr/local/nagios/libexec/check_by_ssh' /usr/bin/install -c -o nagios -g nagios check_by_ssh /usr/local/nagios/libexec/check_by_ssh /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_swap' '/usr/local/nagios/libexec/check_swap' /usr/bin/install -c -o nagios -g nagios check_swap /usr/local/nagios/libexec/check_swap /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios 'check_dig' '/usr/local/nagios/libexec/check_dig' -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios -g nagios /usr/bin/install -c -o nagios -g nagios check_dig /usr/local/nagios/libexec/check_dig /bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios -g nagios 'check_nt' '/usr/local/nagios/libexec/check_nt' /usr/bin/install -c -o nagios -g nagios check_nt /usr/local/nagios/libexec/check_nt make install-exec-hook make[3]: Entering directory `/root/depot/nagios/nagios-plugins1.4.11/plugins' cd /usr/local/nagios/libexec && \ for i in check_ftp check_imap check_nntp check_pop check_udp check_clamd ; do rm -f $i; ln -s check_tcp $i ; done ;\ if [ -x check_ldap ] ; then rm -f check_ldaps ; ln -s check_ldap check_ldaps ; fi make[3]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/plugins' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/plugins' make[1]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/plugins' Making install in plugins-scripts make[1]: Entering directory `/root/depot/nagios/nagios-plugins1.4.11/plugins-scripts' make[2]: Entering directory `/root/depot/nagios/nagios-plugins1.4.11/plugins-scripts' test -z "/usr/local/nagios/libexec" || mkdir -p -"/usr/local/nagios/libexec" /usr/bin/install -c -o nagios -g nagios 'check_breeze' '/usr/local/nagios/libexec/check_breeze' /usr/bin/install -c -o nagios -g nagios 'check_disk_smb' '/usr/local/nagios/libexec/check_disk_smb' /usr/bin/install -c -o nagios -g nagios 'check_flexlm' '/usr/local/nagios/libexec/check_flexlm' /usr/bin/install -c -o nagios -g nagios 'check_ircd' '/usr/local/nagios/libexec/check_ircd' /usr/bin/install -c -o nagios -g nagios 'check_log' '/usr/local/nagios/libexec/check_log' /usr/bin/install -c -o nagios -g nagios 'check_oracle' '/usr/local/nagios/libexec/check_oracle' /usr/bin/install -c -o nagios -g nagios 'check_rpc' '/usr/local/nagios/libexec/check_rpc' /usr/bin/install -c -o nagios -g nagios 'check_sensors' '/usr/local/nagios/libexec/check_sensors' /usr/bin/install -c -o nagios -g nagios 'check_wave' '/usr/local/nagios/libexec/check_wave' /usr/bin/install -c -o nagios -g nagios 'check_ifstatus' '/usr/local/nagios/libexec/check_ifstatus' /usr/bin/install -c -o nagios -g nagios 'check_ifoperstatus' '/usr/local/nagios/libexec/check_ifoperstatus' /usr/bin/install -c -o nagios -g nagios 'check_mailq' '/usr/local/nagios/libexec/check_mailq' /usr/bin/install -c -o nagios -g nagios 'check_file_age' '/usr/local/nagios/libexec/check_file_age' /usr/bin/install -c -o nagios -g nagios 'utils.sh' '/usr/local/nagios/libexec/utils.sh' /usr/bin/install -c -o nagios -g nagios 'utils.pm' '/usr/local/nagios/libexec/utils.pm' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/pluginsscripts' make[1]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/pluginsscripts' Making install in plugins-root make[1]: Entering directory `/root/depot/nagios/nagios-plugins1.4.11/plugins-root' make[2]: Entering directory `/root/depot/nagios/nagios-plugins1.4.11/plugins-root' /usr/bin/install -c -o nagios -g nagios check_dhcp /usr/local/nagios/libexec/check_dhcp chown root /usr/local/nagios/libexec/check_dhcp chmod ug=rx,u+s /usr/local/nagios/libexec/check_dhcp /usr/bin/install -c -o nagios -g nagios check_icmp /usr/local/nagios/libexec/check_icmp chown root /usr/local/nagios/libexec/check_icmp chmod ug=rx,u+s /usr/local/nagios/libexec/check_icmp make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/pluginsroot' make[1]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/pluginsroot' Making install in po make[1]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11/po' mkdir -p -- /usr/local/nagios/share installing fr.gmo as /usr/local/nagios/share/locale/fr/LC_MESSAGES/nagiosplugins.mo installing de.gmo as /usr/local/nagios/share/locale/de/LC_MESSAGES/nagiosplugins.mo if test "nagios-plugins" = "gettext-tools"; then \ mkdir -p -- /usr/local/nagios/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin Makevars.template; do \ /usr/bin/install -c -o nagios -g nagios -m 644 ./$file \ /usr/local/nagios/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /usr/local/nagios/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11/po' make[1]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11' make[2]: Entering directory `/root/depot/nagios/nagios-plugins-1.4.11' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11' make[1]: Leaving directory `/root/depot/nagios/nagios-plugins-1.4.11' [root@celebrian nagios-plugins-1.4.11]# [root@celebrian nagios-plugins-1.4.11]# [root@celebrian nagios-plugins-1.4.11]# chkconfig --add nagios [root@celebrian nagios-plugins-1.4.11]# chkconfig nagios on [root@celebrian nagios-plugins-1.4.11]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 8 services. Checking hosts... Checked 1 hosts. Checking host groups... Checked 1 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 24 commands. Checking time periods... Checked 5 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check [root@celebrian nagios-plugins-1.4.11]# [root@celebrian nagios-plugins-1.4.11]# service nagios start Starting nagios: done. [root@celebrian nagios-plugins-1.4.11]# [root@celebrian nagios-plugins-1.4.11]# getenforce Enforcing [root@celebrian nagios-plugins-1.4.11]# setenforce 0 [root@celebrian nagios-plugins-1.4.11]# vi /etc/selinux/config [root@celebrian nagios-plugins-1.4.11]# cat /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=permissive # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted # SETLOCALDEFS= Check local definition changes SETLOCALDEFS=0 [root@celebrian nagios-plugins-1.4.11]# [root@celebrian nagios-plugins-1.4.11]# [root@celebrian nagios-plugins-1.4.11]# [root@celebrian nagios-plugins-1.4.11]# [root@celebrian nagios-plugins1.4.11]# service nagios start -bash: [root@celebrian: command not found [root@celebrian nagios-plugins-1.4.11]# Starting nagios: done. -bash: Starting: command not found [root@celebrian nagios-plugins-1.4.11]# [root@celebrian nagios-plugins1.4.11]# -bash: [root@celebrian: command not found [root@celebrian nagios-plugins-1.4.11]# chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ [root@celebrian nagios-plugins-1.4.11]# chcon -R -t httpd_sys_content_t /usr/local/nagios/share/ [root@celebrian nagios-plugins-1.4.11]# setenforce 1 [root@celebrian nagios-plugins-1.4.11]# [root@celebrian nagios-plugins-1.4.11]# vi /etc/selinux/config [root@celebrian nagios-plugins-1.4.11]# cat /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=enforcing # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted # SETLOCALDEFS= Check local definition changes SETLOCALDEFS=0 [root@celebrian nagios-plugins-1.4.11]#