Profundizando nagios.pdf

Vista previa de texto
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
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 g++ accepts -g... yes
...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
root@linux# make
g++ -DHAVE_CONFIG_H -I. -I..
-I../nagios -fPIC -g -O2 -MT livestatus_soAndingFil...
g++ -DHAVE_CONFIG_H -I. -I..
-I../nagios -fPIC -g -O2 -MT livestatus_soClientQue...
g++ -DHAVE_CONFIG_H -I. -I..
-I../nagios -fPIC -g -O2 -MT livestatus_soColumn.o ...
g++ -DHAVE_CONFIG_H -I. -I..
-I../nagios -fPIC -g -O2 -MT livestatus_soColumnsCo...
g++ -DHAVE_CONFIG_H -I. -I..
-I../nagios -fPIC -g -O2 -MT livestatus_soContactsC...
g++ -DHAVE_CONFIG_H -I. -I..
-I../nagios -fPIC -g -O2 -MT livestatus_soCustomVar...
g++ -DHAVE_CONFIG_H -I. -I..
-I../nagios -fPIC -g -O2 -MT livestatus_soCustomVar...
....
root@linux# make install
Making install in src
make[1]: Entering directory `/d/nagvis-dev/src/mk-livestatus-1.1.2/src'
make[2]: Entering directory `/d/nagvis-dev/src/mk-livestatus-1.1.2/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c 'unixcat' '/usr/local/bin/unixcat'
test -z "/usr/local/lib/mk-livestatus" || /bin/mkdir -p "/usr/local/lib/mklivestatus"
/usr/bin/install -c -m 644 'livestatus.so' '/usr/local/lib/mklivestatus/livestatus.so'
ranlib '/usr/local/lib/mk-livestatus/livestatus.so'
/bin/sh /d/nagvis-dev/src/mk-livestatus-1.1.2/install-sh -d /usr/local/lib/mklivestatus
/usr/bin/install -c livestatus.o /usr/local/lib/mk-livestatus
rm -f /usr/local/lib/mk-livestatus/livestatus.so
make[2]: Leaving directory `/d/nagvis-dev/src/mk-livestatus-1.1.2/src'
make[1]: Leaving directory `/d/nagvis-dev/src/mk-livestatus-1.1.2/src'
make[1]: Entering directory `/d/nagvis-dev/src/mk-livestatus-1.1.2'
make[2]: Entering directory `/d/nagvis-dev/src/mk-livestatus-1.1.2'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/d/nagvis-dev/src/mk-livestatus-1.1.2'
make[1]: Leaving directory `/d/nagvis-dev/src/mk-livestatus-1.1.2'
Despues tenemos que especificar que Nagios cargue el archivo objeto
compilado livestatus.o, para eso debemos agregar a nagios.cfg:
