Code: Select all
---- Starting Nagios XI Backup ----
No entry for terminal type "unknown";
using dumb terminal settings.
Job for nagios.service failed because the control process exited with error code. See "systemctl status nagios.service" and "journalctl -xe" for details.
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/var/ndo.sock: socket ignored
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up the SNMP trap interface configuration files...
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up Nagvis...
tar: Removing leading `/' from member names
Backing up MySQL databases...
Backing up cronjobs for Apache...
Backing up logrotate config files...
Backing up Apache config files...
Compressing backup...
===============
BACKUP COMPLETE
===============
Backup stored in /store/backups/nagiosxi/autoupgrade_backup.1531439413.tar.gz
---- Starting Nagios XI Upgrade ----
Cleaning up temp directory...
No entry for terminal type "unknown";
using dumb terminal settings.
No entry for terminal type "unknown";
using dumb terminal settings.
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.4.lin
Sourceguardian extension found for PHP version 5.4
Sourceguardian extension already in php.ini
No entry for terminal type "unknown";
using dumb terminal settings.
Checking required prereqs...
Please wait...
OLD VERSION: 5500
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.s.uw.edu
* epel: mirrors.cat.pdx.edu
* extras: sjc.edge.kernel.org
* updates: mirrordenver.fdcservers.net
No packages marked for update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.osuosl.org
* epel: mirrors.cat.pdx.edu
* extras: sjc.edge.kernel.org
* updates: mirrordenver.fdcservers.net
Package perl-Test-Simple-0.98-243.el7.noarch already installed and latest version
Package perl-Class-Accessor-0.34-12.el7.noarch already installed and latest version
Package perl-Params-Validate-1.08-4.el7.x86_64 already installed and latest version
Package perl-Config-Tiny-2.14-7.el7.noarch already installed and latest version
Package perl-Math-Calc-Units-1.07-9.el7.noarch already installed and latest version
Package perl-Number-Format-1.73-14.el7.noarch already installed and latest version
Nothing to do
UPGRADE: Nagios Core is upgrading...
Checking if ModGearman is in use before continuing...
ModGearman not found! Continuing...
UPGRADE: Applying Nagios XI patches to Nagios Core...
patching file nagios-4.4.1/cgi/Makefile.in
Hunk #1 succeeded at 40 with fuzz 2 (offset 1 line).
Hunk #2 succeeded at 135 (offset -16 lines).
Hunk #3 succeeded at 165 with fuzz 2 (offset -13 lines).
patching file nagios-4.4.1/base/checks.c
patching file nagios-4.4.1/base/checks.c
checking for a BSD-compatible install... /bin/install -c
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for strip... /bin/strip
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/wait.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/msg.h usability... yes
checking sys/msg.h presence... yes
checking for sys/msg.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.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 for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.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 struct tm.tm_zone... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking what the operating system is ... linux
checking what the distribution type is ... rhel
checking what init system is being used ... systemd
checking what inetd is being used ... xinetd
checking for which paths to use ... default
checking for which init file to use ... default-service
checking for which inetd files to use ... default-xinetd
checking for va_copy... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for asprintf... yes
checking for vasprintf... yes
checking for sigaction... yes
checking for C99 vsnprintf... yes
checking for library containing getservbyname... none required
checking for library containing connect... none required
checking for initgroups... yes
checking for setenv... yes
checking for strdup... yes
checking for strstr... yes
checking for strtoul... yes
checking for unsetenv... yes
checking for type of socket size... size_t
checking for library containing nanosleep... none required
checking for mail... /bin/mail
checking for RLIMIT_PROC... yes
checking for glibc at least version 2.4... yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for main in -liconv... no
checking for gdImagePng in -lgd (order 1)... no
checking for gdImagePng in -lgd (order 2)... yes
checking for GD library... yes
checking for gdImageCreateTrueColor in -lgd... yes
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... /bin/perl
checking for unzip... /bin/unzip
configure: creating ./config.status
config.status: creating html/index.php
config.status: creating Makefile
config.status: creating lib/Makefile
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 worker/Makefile
config.status: creating worker/ping/Makefile
config.status: creating xdata/Makefile
config.status: creating subst
config.status: creating pkginfo
config.status: creating startup/openrc-init
config.status: creating startup/default-init
config.status: creating startup/default-service
config.status: creating startup/upstart-init
config.status: creating t/Makefile
config.status: creating t-tap/Makefile
config.status: creating include/config.h
config.status: creating lib/snprintf.h
config.status: creating lib/iobroker.h
Creating sample config files in sample-config/ ...
*** Configuration summary for nagios 4.4.1 2018-06-25 ***:
General Options:
-------------------------
Nagios executable: nagios
Nagios user/group: nagios,nagios
Command user/group: nagios,nagcmd
Event Broker: yes
Install ${prefix}: /usr/local/nagios
Install ${includedir}: /usr/local/nagios/include/nagios
Lock file: /run/nagios.lock
Check result directory: /usr/local/nagios/var/spool/checkresults
Init directory: /lib/systemd/system
Apache conf.d directory: /etc/httpd/conf.d
Mail program: /bin/mail
Host OS: linux-gnu
IOBroker Method: epoll
Web Interface Options:
------------------------
HTML URL: http://localhost/nagios/
CGI URL: http://localhost/nagios/cgi-bin/
Traceroute (used by WAP): /bin/traceroute
Review the options above for accuracy. If they look okay,
type 'make all' to compile the main program and CGIs.
cd ./base && make
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/base'
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o nagios.o nagios.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o nebmods.o nebmods.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o ../common/shared.o ../common/shared.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o query-handler.o query-handler.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o workers.o workers.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o events.o events.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o macros-base.o ../common/macros.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o netutils.o netutils.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o retention-base.o sretention.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o comments-base.o ../common/comments.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xcomments-base.o ../xdata/xcddefault.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o objects-base.o ../common/objects.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xobjects-base.o ../xdata/xodtemplate.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o statusdata-base.o ../common/statusdata.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xstatusdata-base.o ../xdata/xsddefault.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o ../xdata/xpddefault.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o ../common/downtime.c
make -C ../lib
make[2]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/lib'
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c squeue.c -o squeue.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c kvvec.c -o kvvec.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c iocache.c -o iocache.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c iobroker.c -o iobroker.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c bitmap.c -o bitmap.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c dkhash.c -o dkhash.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c runcmd.c -o runcmd.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c nsutils.c -o nsutils.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c fanout.c -o fanout.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c pqueue.c -o pqueue.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c worker.c -o worker.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c skiplist.c -o skiplist.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c nsock.c -o nsock.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c nspath.c -o nspath.o
ar cr libnagios.a squeue.o kvvec.o iocache.o iobroker.o bitmap.o dkhash.o runcmd.o nsutils.o fanout.o pqueue.o worker.o skiplist.o nsock.o nspath.o
make[2]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/lib'
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.o broker.o nebmods.o ../common/shared.o query-handler.o workers.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.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 -Wl,-export-dynamic -lm -ldl ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagiostats nagiostats.c -lm ../lib/libnagios.a
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/base'
cd ./cgi && make
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/cgi'
Makefile:169: warning: overriding recipe for target `tac-xml.cgi'
Makefile:166: warning: ignoring old recipe for target `tac-xml.cgi'
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o getcgi.o getcgi.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o cgiutils.o cgiutils.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o cgiauth.o cgiauth.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o macros-cgi.o ../common/macros.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o objects-cgi.o ../common/objects.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o xobjects-cgi.o ../xdata/xodtemplate.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o statusdata-cgi.o ../common/statusdata.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o xstatusdata-cgi.o ../xdata/xsddefault.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o comments-cgi.o ../common/comments.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o downtime-cgi.o ../common/downtime.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -c -o archiveutils.o archiveutils.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -c -o jsonutils.o jsonutils.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -o archivejson.cgi archivejson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a archiveutils.o jsonutils.o
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o avail.cgi avail.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o extcmd_list.o extcmd_list.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o cmd.cgi cmd.c extcmd_list.o ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o config.cgi config.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o extinfo.cgi extinfo.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o history.cgi history.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o notifications.cgi notifications.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -o objectjson.cgi objectjson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a jsonutils.o
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o outages.cgi outages.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o showlog.cgi showlog.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o status.cgi status.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -o statusjson.cgi statusjson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a jsonutils.o
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statuswml.cgi statuswml.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o summary.cgi summary.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o tac.cgi tac.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o tac-xml.cgi tac-xml.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
tac-xml.c: In function ‘main’:
tac-xml.c:189:8: warning: unused variable ‘sound’ [-Wunused-variable]
char *sound=NULL;
^
tac-xml.c: In function ‘display_tac_overview’:
tac-xml.c:861:7: warning: unused variable ‘service_health_image’ [-Wunused-variable]
char service_health_image[16];
^
tac-xml.c:860:7: warning: unused variable ‘host_health_image’ [-Wunused-variable]
char host_health_image[16];
^
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o status-json.cgi status-json.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
status-json.c: In function ‘main’:
status-json.c:139:6: warning: unused variable ‘network_outages’ [-Wunused-variable]
int network_outages=0;
^
status-json.c:684:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o outages-xml.cgi outages-xml.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
outages-xml.c: In function ‘main’:
outages-xml.c:102:6: warning: unused variable ‘result’ [-Wunused-variable]
int result=OK;
^
outages-xml.c: In function ‘display_network_outages’:
outages-xml.c:224:8: warning: unused variable ‘status’ [-Wunused-variable]
char *status="";
^
outages-xml.c:223:8: warning: unused variable ‘bg_class’ [-Wunused-variable]
char *bg_class="";
^
outages-xml.c:222:6: warning: unused variable ‘odd’ [-Wunused-variable]
int odd=0;
^
outages-xml.c:216:7: warning: unused variable ‘temp_buffer’ [-Wunused-variable]
char temp_buffer[MAX_INPUT_BUFFER];
^
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statuswrl.cgi statuswrl.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lm
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lgd -lpng -ljpeg -lz -lm
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o trends.cgi trends.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lgd -lpng -ljpeg -lz -lm
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCGI -o histogram.cgi histogram.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lgd -lpng -ljpeg -lz -lm
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/cgi'
cd ./html && make
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/html'
(cd angularjs && unzip -u angular-1.3.9.zip)
Archive: angular-1.3.9.zip
creating: angular-1.3.9/
inflating: angular-1.3.9/angular-animate.js
inflating: angular-1.3.9/angular-animate.min.js
inflating: angular-1.3.9/docs/partials/api/ngResource.html
creating: angular-1.3.9/docs/partials/api/ngResource/service/
inflating: angular-1.3.9/docs/partials/api/ngResource/service.html
inflating: angular-1.3.9/docs/partials/api/ngResource/service/$resource.html
creating: angular-1.3.9/docs/partials/api/ngRoute/
creating: angular-1.3.9/docs/ptore2e/example-example97/
inflating: angular-1.3.9/docs/ptore2e/example-example97/default_test.js
inflating: angular-1.3.9/docs/ptore2e/example-example97/jquery_test.js
creating: angular-1.3.9/docs/ptore2e/example-example98/
inflating: angular-1.3.9/docs/ptore2e/example-example98/default_test.js
inflating: angular-1.3.9/docs/ptore2e/example-example98/jquery_test.js
inflating: dist/css/bootstrap.min.css
inflating: dist/css/bootstrap-theme.min.css
inflating: dist/css/bootstrap.css
mkdir -p d3
(cd d3 && unzip -u ../d3-3.5.17.zip)
Archive: ../d3-3.5.17.zip
inflating: bower.json
inflating: d3.js
inflating: d3.min.js
inflating: LICENSE
inflating: README.md
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/html'
if [ xyes = xyes ]; then \
cd ./module && make; \
fi
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/module'
gcc -I.. -fPIC -g -O2 -DHAVE_CONFIG_H -o helloworld.o helloworld.c -shared
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/module'
cd ./worker && make all
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/worker'
cd ./ping && make all
make[2]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/worker/ping'
gcc -I.. -I ../../include -I ../.. -g -O2 -DHAVE_CONFIG_H -o worker-ping worker-ping.c -L ../../lib -l nagios
make[2]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/worker/ping'
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/worker'
*** Compile finished ***
If the main program and CGIs compiled without any errors, you
can continue with testing or installing Nagios as follows (type
'make' without any arguments for a list of all possible options):
make test
- This runs the test suite
make install
- This installs the main program, CGIs, and HTML files
make install-init
- This installs the init script in /lib/systemd/system
make install-daemoninit
- This will initialize the init script
in /lib/systemd/system
make install-groups-users
- This adds the users and groups if they do not exist
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
make install-exfoliation
- This installs the Exfoliation theme for the Nagios
web interface
make install-classicui
- This installs the classic theme 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 documentation on the Nagios Library at:
https://library.nagios.com
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:
https://support.nagios.com
*************************************************************
Enjoy.
cd ./base && make install
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/base'
make install-basic
make[2]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/base'
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin
/bin/install -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin
/bin/install -c -m 774 -o nagios -g nagios nagiostats /usr/local/nagios/bin
make[2]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/base'
make strip-post-install
make[2]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/base'
/bin/strip /usr/local/nagios/bin/nagios
/bin/strip /usr/local/nagios/bin/nagiostats
make[2]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/base'
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/base'
cd ./cgi && make install
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/cgi'
Makefile:169: warning: overriding recipe for target `tac-xml.cgi'
Makefile:166: warning: ignoring old recipe for target `tac-xml.cgi'
make install-basic
make[2]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/cgi'
Makefile:169: warning: overriding recipe for target `tac-xml.cgi'
Makefile:166: warning: ignoring old recipe for target `tac-xml.cgi'
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin
for file in *.cgi; do \
/bin/install -c -m 775 -o nagios -g nagios $file /usr/local/nagios/sbin; \
done
make[2]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/cgi'
make strip-post-install
make[2]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/cgi'
Makefile:169: warning: overriding recipe for target `tac-xml.cgi'
Makefile:166: warning: ignoring old recipe for target `tac-xml.cgi'
for file in *.cgi; do \
/bin/strip /usr/local/nagios/sbin/$file; \
done
make[2]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/cgi'
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/cgi'
cd ./html && make install
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/html'
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/media
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/stylesheets
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/contexthelp
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs/images
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/js
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images/logos
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/ssi
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/angularjs
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/angularjs/angular-1.3.9
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/angularjs/ui-utils-0.2.3
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/bootstrap-3.3.7
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/bootstrap-3.3.7/css
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/d3
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/spin
/bin/install -c -m 664 -o nagios -g nagios robots.txt /usr/local/nagios/share
rm -f /usr/local/nagios/share/index.html
rm -f /usr/local/nagios/share/main.html
rm -f /usr/local/nagios/share/side.html
rm -f /usr/local/nagios/share/map.html
rm -f /usr/local/nagios/share/rss-*
rm -rf /usr/local/nagios/share/include/rss
/bin/install -c -m 664 -o nagios -g nagios jsonquery.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios graph-header.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios histogram.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios histogram-form.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios histogram-graph.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios histogram-links.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios infobox.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios map.php /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios map-directive.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios map-form.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios map-links.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios map-popup.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios trends.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios trends-form.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios trends-graph.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios trends-host-yaxis.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios trends-links.html /usr/local/nagios/share
/bin/install -c -m 664 -o nagios -g nagios trends-service-yaxis.html /usr/local/nagios/share
for file in *.php; \
do /bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share; done
for file in stylesheets/*.css; \
do /bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/stylesheets; done
for file in contexthelp/*.html; \
do /bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/contexthelp; done
for file in js/*.js; \
do /bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/js; done
for file in images/*.gif; \
do /bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done
for file in images/*.jpg; \
do /bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done
for file in images/*.png; \
do /bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done
for file in images/*.ico; \
do /bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done
for file in images/logos/*.*; \
do /bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images/logos; done
for file in includes/*.*; \
do /bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes; done
/bin/install -c -m 664 -o nagios -g nagios angularjs/angular-1.3.9/angular.min.js /usr/local/nagios/share/angularjs/angular-1.3.9
/bin/install -c -m 664 -o nagios -g nagios angularjs/angular-1.3.9/angular.min.js.map /usr/local/nagios/share/angularjs/angular-1.3.9
/bin/install -c -m 664 -o nagios -g nagios angularjs/ui-bootstrap-tpls-0.14.3.min.js /usr/local/nagios/share/angularjs
/bin/install -c -m 664 -o nagios -g nagios angularjs/ui-utils-0.2.3/ui-utils.js /usr/local/nagios/share/angularjs/ui-utils-0.2.3
/bin/install -c -m 664 -o nagios -g nagios bootstrap-3.3.7/css/bootstrap.min.css /usr/local/nagios/share/bootstrap-3.3.7/css
/bin/install -c -m 664 -o nagios -g nagios bootstrap-3.3.7/css/bootstrap-theme.min.css /usr/local/nagios/share/bootstrap-3.3.7/css
/bin/install -c -m 664 -o nagios -g nagios d3/d3.min.js /usr/local/nagios/share/d3
/bin/install -c -m 664 -o nagios -g nagios spin/spin.min.js /usr/local/nagios/share/spin
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1/html'
make install-exfoliation
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1'
*** Exfoliation theme installed ***
NOTE: Use 'make install-classicui' to revert to classic Nagios theme
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1'
make install-basic
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1'
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var
/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var/archives
/bin/install -c -m 775 -o nagios -g nagcmd -d /usr/local/nagios/var/spool/checkresults
chmod g+s /usr/local/nagios/var/spool/checkresults
*** 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 /lib/systemd/system
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 `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.4.1'
/bin/install -c -m 755 -d -o root -g root /lib/systemd/system
/bin/install -c -m 755 -o root -g root startup/default-service /lib/systemd/system/nagios.service
Job for nagios.service failed because the control process exited with error code. See "systemctl status nagios.service" and "journalctl -xe" for details.