Chkconfig --add nagios(Error reading Information On Service)

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mohsin2011
Posts: 63
Joined: Fri Sep 09, 2011 1:14 am

Chkconfig --add nagios(Error reading Information On Service)

Post by mohsin2011 »

Hi,

i am getting error while installing nagios core i am using this document for installing it ,

http://www.thegeekstuff.com/2008/05/nag ... iguration/

when i reach to step 7 successfully but when i try to run "Chkconfig --add nagios" i get error ,

"Error reading Information On Service nagios: no such file or directory "

i am installing it on root the surprising talk is that i have runned it successfully before some time but when application ran it was not logging for the given id pwd thats why i install it again !

Please help me i am also not getting any nagios folder under etc/init.d ??

Hopes for your suggestions ...

Thanks in Advance,
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Chkconfig --add nagios(Error reading Information On Serv

Post by jsmurphy »

It sounds like it isn't installing properly, run the install again (Step 4.) and watch carefully for any errors.
mohsin2011
Posts: 63
Joined: Fri Sep 09, 2011 1:14 am

Re: Chkconfig --add nagios(Error reading Information On Serv

Post by mohsin2011 »

thanks for your reply i am again installing from initial and then let you know about the errors if occur and the link i provided is not making me clear i do all installation from root like this [root@localhost~] is it fine or it should be [root@localhost/] ??
or should i have to use some other folders for installation lime tmp,usr home ...
Hopes for youe suggestions..

Thanks in Advance!
mohsin2011
Posts: 63
Joined: Fri Sep 09, 2011 1:14 am

Re: Chkconfig --add nagios(Error reading Information On Serv

Post by mohsin2011 »

after following the link i have mentioned above for installing nagios core i have found error while installing i have mentioned the terminal info while installing as under it is from STEP 4 of the guide and when i ran "./configure --with-command-group=nagcmd",

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 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 for va_copy... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for asprintf... yes
checking for vasprintf... 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 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)... yes
GD library was found!
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... /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 t/Makefile
config.status: creating t-tap/Makefile
config.status: creating include/config.h
config.status: creating include/snprintf.h

Creating sample config files in sample-config/ ...


*** Configuration summary for nagios 3.3.1 07-25-2011 ***:

General Options:
-------------------------
Nagios executable: nagios
Nagios user/group: nagios,nagios
Command user/group: nagios,nagcmd
Embedded Perl: no
Event Broker: yes
Install ${prefix}: /usr/local/nagios
Lock file: ${prefix}/var/nagios.lock
Check result directory: ${prefix}/var/spool/checkresults
Init directory: /etc/rc.d/init.d
Apache conf.d directory: /etc/httpd/conf.d
Mail program: /bin/mail
Host OS: linux-gnu

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.

[root@localhost nagios]# make all
cd ./base && make
make[1]: Entering directory `/nagios/base'
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o nebmods.o nebmods.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o ../common/shared.o ../common/shared.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o events.o events.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o macros-base.o ../common/macros.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o netutils.o netutils.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o skiplist.o ../common/skiplist.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o retention-base.o sretention.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o comments-base.o ../common/comments.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xcomments-base.o ../xdata/xcddefault.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o objects-base.o ../common/objects.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xobjects-base.o ../xdata/xodtemplate.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o statusdata-base.o ../common/statusdata.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xstatusdata-base.o ../xdata/xsddefault.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o ../xdata/xpddefault.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o ../common/downtime.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o ../xdata/xdddefault.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o ../common/shared.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o skiplist.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 xdowntime-base.o -Wl,-export-dynamic -lm -lpthread -ldl
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagiostats nagiostats.c -lm
make[1]: Leaving directory `/nagios/base'
cd ./cgi && make
make[1]: Entering directory `/nagios/cgi'
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o getcgi.o getcgi.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o cgiutils.o cgiutils.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o cgiauth.o cgiauth.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o macros-cgi.o ../common/macros.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o skiplist.o ../common/skiplist.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o objects-cgi.o ../common/objects.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o xobjects-cgi.o ../xdata/xodtemplate.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o statusdata-cgi.o ../common/statusdata.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o xstatusdata-cgi.o ../xdata/xsddefault.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o comments-cgi.o ../common/comments.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o downtime-cgi.o ../common/downtime.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -o avail.cgi avail.c ../common/shared.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 -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o extcmd_list.o extcmd_list.c
gcc -Wall -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 skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -o config.cgi config.c ../common/shared.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 -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -o extinfo.cgi extinfo.c ../common/shared.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 -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -o history.cgi history.c ../common/shared.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 -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -o notifications.cgi notifications.c ../common/shared.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 -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -o outages.cgi outages.c ../common/shared.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 -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -o showlog.cgi showlog.c ../common/shared.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 -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -o status.cgi status.c ../common/shared.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 -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statuswml.cgi statuswml.c ../common/shared.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 -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -o summary.cgi summary.c ../common/shared.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 -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -o tac.cgi tac.c ../common/shared.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 -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statuswrl.cgi statuswrl.c ../common/shared.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 -lm
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c ../common/shared.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 -lgd -lpng -ljpeg -lz -lm
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -o trends.cgi trends.c ../common/shared.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 -lgd -lpng -ljpeg -lz -lm
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCGI -o histogram.cgi histogram.c ../common/shared.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 -lgd -lpng -ljpeg -lz -lm
make[1]: Leaving directory `/nagios/cgi'
cd ./html && make
make[1]: Entering directory `/nagios/html'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/nagios/html'
if [ xyes = xyes ]; then \
cd ./module && make; \
fi
make[1]: Entering directory `/nagios/module'
gcc -fPIC -g -O2 -DHAVE_CONFIG_H -o helloworld.o helloworld.c -shared
make[1]: Leaving directory `/nagios/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

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:
http://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:

http://support.nagios.com

*************************************************************

Enjoy.

You have mail in /var/spool/mail/root



TO BE CONTINUED...
mohsin2011
Posts: 63
Joined: Fri Sep 09, 2011 1:14 am

Re: Chkconfig --add nagios(Error reading Information On Serv

Post by mohsin2011 »

Remaining Portion Of The Above Post Is Here !

[root@localhost nagios]# make install
cd ./base && make install
make[1]: Entering directory `/nagios/base'
make install-basic
make[2]: Entering directory `/nagios/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 `/nagios/base'
make strip-post-install
make[2]: Entering directory `/nagios/base'
/usr/bin/strip /usr/local/nagios/bin/nagios
/usr/bin/strip /usr/local/nagios/bin/nagiostats
make[2]: Leaving directory `/nagios/base'
make[1]: Leaving directory `/nagios/base'
cd ./cgi && make install
make[1]: Entering directory `/nagios/cgi'
make install-basic
make[2]: Entering directory `/nagios/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 `/nagios/cgi'
make strip-post-install
make[2]: Entering directory `/nagios/cgi'
for file in *.cgi; do \
/usr/bin/strip /usr/local/nagios/sbin/$file; \
done
make[2]: Leaving directory `/nagios/cgi'
make[1]: Leaving directory `/nagios/cgi'
cd ./html && make install
make[1]: Entering directory `/nagios/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/includes
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss/extlib
/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
rm -f /usr/local/nagios/share/index.html
rm -f /usr/local/nagios/share/main.html
rm -f /usr/local/nagios/share/side.html
for file in *.php; \
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 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
for file in includes/*.*; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes; done
for file in includes/rss/*; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes/rss; done
/usr/bin/install: omitting directory `includes/rss/extlib'
/usr/bin/install: omitting directory `includes/rss/htdocs'
/usr/bin/install: omitting directory `includes/rss/scripts'
for file in includes/rss/extlib/*; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes/rss/extlib; done
make[1]: Leaving directory `/nagios/html'
make install-exfoliation
make[1]: Entering directory `/nagios'
cp -rf contrib/exfoliation/stylesheets/* /usr/local/nagios/share/stylesheets
cp -rf contrib/exfoliation/images/* /usr/local/nagios/share/images

*** Exfoliation theme installed ***
NOTE: Use 'make install-classicui' to revert to classic Nagios theme

make[1]: Leaving directory `/nagios'
make install-basic
make[1]: Entering directory `/nagios'
/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 `/nagios'
[root@localhost nagios]# 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/template-object/templates.cfg /usr/local/nagios/etc/objects/templates.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/template-object/commands.cfg /usr/local/nagios/etc/objects/commands.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/template-object/contacts.cfg /usr/local/nagios/etc/objects/contacts.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/template-object/timeperiods.cfg /usr/local/nagios/etc/objects/timeperiods.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/template-object/localhost.cfg /usr/local/nagios/etc/objects/localhost.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/template-object/windows.cfg /usr/local/nagios/etc/objects/windows.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/template-object/printer.cfg /usr/local/nagios/etc/objects/printer.cfg
/usr/bin/install -c -b -m 664 -o nagios -g nagios sample-config/template-object/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@localhost nagios]# 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@localhost nagios]# 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@localhost nagios]# htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
New password:
Re-type new password:
Adding password for user nagiosadmin
[root@localhost nagios]#
[root@localhost nagios]#cd /
[root@localhost nagios-plugins-1.4.15]# ./configure --with-nagios-user=nagios --with-nagios-group=nagios

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 getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for math.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for unistd.h... (cached) yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for stdint.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for sys/time.h... (cached) yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking whether the preprocessor supports include_next... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking whether <wchar.h> uses 'inline' correctly... yes
checking for btowc... yes
checking for dup2... yes
checking for fcntl... yes
checking for getdtablesize... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mprotect... yes
checking for memchr... yes
checking for alarm... yes
checking for nl_langinfo... yes
checking for lstat... yes
checking for isblank... yes
checking for iswctype... yes
checking for wcscoll... yes
checking for setenv... yes
checking for strdup... (cached) yes
checking for strndup... yes
checking for localtime_r... yes
checking for timegm... yes
checking for pipe... yes
checking for vasnprintf... no
checking for wcrtomb... yes
checking for iswcntrl... yes
checking for iswblank... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... fr_FR
checking whether byte ordering is bigendian... no
checking whether system is Windows or MSDOS... no
checking whether // is distinct from /... no
checking if environ is properly declared... yes
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for working fcntl.h... yes
checking for mode_t... yes
checking for promoted mode_t type... mode_t
checking whether <sys/socket.h> is self-contained... yes
checking for shutdown... yes
checking whether <sys/socket.h> defines the SHUT_* macros... yes
checking for struct sockaddr_storage... yes
checking for sa_family_t... yes
checking whether socket is declared without a macro... no
checking whether connect is declared without a macro... no
checking whether accept is declared without a macro... no
checking whether bind is declared without a macro... no
checking whether getpeername is declared without a macro... no
checking whether getsockname is declared without a macro... no
checking whether getsockopt is declared without a macro... no
checking whether listen is declared without a macro... no
checking whether recv is declared without a macro... no
checking whether send is declared without a macro... no
checking whether recvfrom is declared without a macro... no
checking whether sendto is declared without a macro... no
checking whether setsockopt is declared without a macro... no
checking whether shutdown is declared without a macro... no
checking whether accept4 is declared without a macro... no
checking whether getaddrinfo is declared without a macro... yes
checking whether freeaddrinfo is declared without a macro... yes
checking whether gai_strerror is declared without a macro... yes
checking whether getnameinfo is declared without a macro... yes
checking for library containing gethostbyname... none required
checking for gethostbyname... yes
checking for library containing getservbyname... none required
checking for getservbyname... yes
checking for IPv4 sockets... yes
checking for IPv6 sockets... yes
checking for library containing inet_ntop... none required
checking whether inet_ntop is declared... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether optreset is declared... no
checking whether getopt_clip is declared... no
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... no
checking whether getenv is declared... yes
checking whether getc_unlocked is declared... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for wchar_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for long long int... yes
checking for mbstate_t... yes
checking for a traditional japanese locale... ja_JP
checking for a transitional chinese locale... zh_CN.GB18030
checking for a french Unicode locale... fr_FR.UTF-8
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking for ssize_t... yes
checking whether setenv validates arguments... yes
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking for tsearch... yes
checking whether snprintf is declared... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for unsigned long long int... yes
checking whether C symbols are prefixed with underscore at the linker level... no
checking whether strdup is declared... yes
checking for working strerror function... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... yes
checking whether memrchr is declared without a macro... yes
checking whether rawmemchr is declared without a macro... yes
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... yes
checking whether strndup is declared... (cached) yes
checking whether strnlen is declared... (cached) yes
checking whether stat file-mode macros are broken... no
checking for struct timespec in <time.h>... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether snprintf returns a byte count as in C99... yes
checking for snprintf... yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for mbrtowc... (cached) yes
checking for wcrtomb... (cached) yes
checking whether _snprintf is declared... no
checking whether vsnprintf is declared... yes
checking for alloca as a compiler built-in... yes
checking whether inet_ntop is declared without a macro... yes
checking whether inet_pton is declared without a macro... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether btowc(0) is correct... yes
checking whether btowc(EOF) is correct... yes
checking whether // is distinct from /... (cached) no
checking whether dup2 works... yes
checking for error_at_line... (cached) yes
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... no
checking whether fcntl is declared without a macro... yes
checking whether openat is declared without a macro... yes
checking whether floorf is declared... 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 (possibly via ws2tcpip.h)... yes
checking for struct sockaddr.sa_len... no
checking whether getaddrinfo is declared... (cached) yes
checking whether freeaddrinfo is declared... (cached) yes
checking whether gai_strerror is declared... (cached) yes
checking whether getnameinfo is declared... (cached) yes
checking for struct addrinfo... yes
checking for gethostname... yes
checking for HOST_NAME_MAX... yes
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking for perfstat_cpu_total in -lperfstat... no
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking whether getloadavg is declared... yes
checking for library containing gethostbyname... (cached) none required
checking for gethostbyname... (cached) yes
checking for library containing inet_ntop... (cached) none required
checking whether inet_ntop is declared... (cached) yes
checking whether the compiler generally respects inline... yes
checking whether langinfo.h defines CODESET... yes
checking whether langinfo.h defines ERA... yes
checking whether nl_langinfo is declared without a macro... yes
checking whether locale.h conforms to POSIX:2001... yes
checking whether locale.h defines locale_t... yes
checking whether duplocale is declared without a macro... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking whether NAN macro works... yes
checking whether HUGE_VAL works... yes
checking whether acosl is declared without a macro... yes
checking whether asinl is declared without a macro... yes
checking whether atanl is declared without a macro... yes
checking whether ceilf is declared without a macro... yes
checking whether ceill is declared without a macro... yes
checking whether cosl is declared without a macro... yes
checking whether expl is declared without a macro... yes
checking whether floorf is declared without a macro... yes
checking whether floorl is declared without a macro... yes
checking whether frexpl is declared without a macro... yes
checking whether ldexpl is declared without a macro... yes
checking whether logb is declared without a macro... yes
checking whether logl is declared without a macro... yes
checking whether round is declared without a macro... yes
checking whether roundf is declared without a macro... yes
checking whether roundl is declared without a macro... yes
checking whether sinl is declared without a macro... yes
checking whether sqrtl is declared without a macro... yes
checking whether tanl is declared without a macro... yes
checking whether trunc is declared without a macro... yes
checking whether truncf is declared without a macro... yes
checking whether truncl is declared without a macro... yes
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... yes
checking whether mbrtowc handles a NULL string argument... yes
checking whether mbrtowc has a correct return value... yes
checking whether mbrtowc returns 0 when parsing a NUL character... yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking for working mktime... 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 whether getaddrinfo is declared without a macro... (cached) yes
checking whether freeaddrinfo is declared without a macro... (cached) yes
checking whether gai_strerror is declared without a macro... (cached) yes
checking whether getnameinfo is declared without a macro... (cached) yes
checking whether <netinet/in.h> is self-contained... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether open recognizes a trailing slash... yes
checking for working re_compile_pattern... yes
checking for library containing getservbyname... (cached) none required
checking for getservbyname... (cached) yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for snprintf... (cached) yes
checking whether snprintf respects a size of 1... yes
checking for library containing setsockopt... none needed
checking for socklen_t... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slashes on directories... yes
checking whether stat handles trailing slashes on files... yes
checking whether NULL can be used in arbitrary expressions... (cached) yes
checking whether stdint.h conforms to C99... yes
checking whether dprintf is declared without a macro... yes
checking whether fpurge is declared without a macro... no
checking whether fseeko is declared without a macro... yes
checking whether ftello is declared without a macro... yes
checking whether getdelim is declared without a macro... yes
checking whether getline is declared without a macro... yes
checking whether popen is declared without a macro... yes
checking whether renameat is declared without a macro... yes
checking whether snprintf is declared without a macro... yes
checking whether tmpfile is declared without a macro... yes
checking whether vdprintf is declared without a macro... yes
checking whether vsnprintf is declared without a macro... yes
checking for random.h... no
checking for struct random_data... yes
checking whether atoll is declared without a macro... yes
checking whether canonicalize_file_name is declared without a macro... yes
checking whether getloadavg is declared without a macro... yes
checking whether getsubopt is declared without a macro... yes
checking whether grantpt is declared without a macro... yes
checking whether mkdtemp is declared without a macro... yes
checking whether mkostemp is declared without a macro... no
checking whether mkostemps is declared without a macro... no
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... no
checking whether ptsname is declared without a macro... yes
checking whether random_r is declared without a macro... yes
checking whether initstat_r is declared without a macro... no
checking whether srandom_r is declared without a macro... yes
checking whether setstate_r is declared without a macro... yes
checking whether realpath is declared without a macro... yes
checking whether rpmatch is declared without a macro... yes
checking whether setenv is declared without a macro... yes
checking whether strtod is declared without a macro... yes
checking whether strtoll is declared without a macro... yes
checking whether strtoull is declared without a macro... yes
checking whether unlockpt is declared without a macro... yes
checking whether unsetenv is declared without a macro... yes
checking for working strndup... yes
checking for working strnlen... yes
checking for strsep... yes
checking whether <sys/socket.h> is self-contained... (cached) yes
checking for shutdown... (cached) yes
checking whether <sys/socket.h> defines the SHUT_* macros... (cached) yes
checking for struct sockaddr_storage... (cached) yes
checking for sa_family_t... (cached) yes
checking whether socket is declared without a macro... (cached) no
checking whether connect is declared without a macro... (cached) no
checking whether accept is declared without a macro... (cached) no
checking whether bind is declared without a macro... (cached) no
checking whether getpeername is declared without a macro... (cached) no
checking whether getsockname is declared without a macro... (cached) no
checking whether getsockopt is declared without a macro... (cached) no
checking whether listen is declared without a macro... (cached) no
checking whether recv is declared without a macro... (cached) no
checking whether send is declared without a macro... (cached) no
checking whether recvfrom is declared without a macro... (cached) no
checking whether sendto is declared without a macro... (cached) no
checking whether setsockopt is declared without a macro... (cached) no
checking whether shutdown is declared without a macro... (cached) no
checking whether accept4 is declared without a macro... (cached) no
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for nlink_t... yes
checking whether fchmodat is declared without a macro... yes
checking whether fstatat is declared without a macro... yes
checking whether futimens is declared without a macro... no
checking whether lchmod is declared without a macro... yes
checking whether lstat is declared without a macro... yes
checking whether mkdirat is declared without a macro... yes
checking whether mkfifo is declared without a macro... yes
checking whether mkfifoat is declared without a macro... yes
checking whether mknod is declared without a macro... yes
checking whether mknodat is declared without a macro... yes
checking whether stat is declared without a macro... yes
checking whether utimensat is declared without a macro... no
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether localtime_r is compatible with its POSIX signature... yes
checking whether chown is declared without a macro... yes
checking whether dup2 is declared without a macro... yes
checking whether dup3 is declared without a macro... no
checking whether environ is declared without a macro... yes
checking whether euidaccess is declared without a macro... yes
checking whether faccessat is declared without a macro... yes
checking whether fchdir is declared without a macro... yes
checking whether fchownat is declared without a macro... yes
checking whether fsync is declared without a macro... yes
checking whether ftruncate is declared without a macro... yes
checking whether getcwd is declared without a macro... yes
checking whether getdomainname is declared without a macro... yes
checking whether getdtablesize is declared without a macro... yes
checking whether getgroups is declared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether linkat is declared without a macro... yes
checking whether lseek is declared without a macro... yes
checking whether pipe2 is declared without a macro... no
checking whether pread is declared without a macro... yes
checking whether pwrite is declared without a macro... yes
checking whether readlink is declared without a macro... yes
checking whether readlinkat is declared without a macro... yes
checking whether rmdir is declared without a macro... yes
checking whether sleep is declared without a macro... yes
checking whether symlink is declared without a macro... yes
checking whether symlinkat is declared without a macro... yes
checking whether ttyname_r is declared without a macro... yes
checking whether unlink is declared without a macro... yes
checking whether unlinkat is declared without a macro... yes
checking whether usleep is declared without a macro... yes
checking for unsetenv... yes
checking for unsetenv() return type... int
checking whether unsetenv works on duplicates... yes
checking for ptrdiff_t... yes
checking for vasprintf... yes
checking for vsnprintf... yes
checking whether snprintf respects a size of 1... (cached) yes
checking whether btowc is declared without a macro... yes
checking whether wctob is declared without a macro... yes
checking whether mbsinit is declared without a macro... yes
checking whether mbrtowc is declared without a macro... yes
checking whether mbrlen is declared without a macro... yes
checking whether mbsrtowcs is declared without a macro... yes
checking whether mbsnrtowcs is declared without a macro... yes
checking whether wcrtomb is declared without a macro... yes
checking whether wcsrtombs is declared without a macro... yes
checking whether wcsnrtombs is declared without a macro... yes
checking whether wcwidth is declared without a macro... yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether wcrtomb return value is correct... yes
checking whether iswcntrl works... yes
checking for stdint.h... (cached) yes
configure: creating ./config.status
config.status: creating gl/Makefile
config.status: creating Makefile
config.status: creating tap/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 libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
--with-apt-get-command:
--with-ping6-command:
--with-ping-command: /bin/ping -n -U -w %d -c %d %s
--with-ipv6: yes
--with-mysql: no
--with-openssl: yes
--with-gnutls: no
--enable-extra-opts: no
--with-perl: /usr/bin/perl
--enable-perl-modules: no
--with-cgiurl: /nagios/cgi-bin
--with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin
--enable-libtap: no
[root@localhost nagios-plugins-1.4.15]#
mv t-ref-del.sed ref-del.sed
make[4]: Leaving directory `/nagios-plugins-1.4.15/gl'
make[3]: Leaving directory `/nagios-plugins-1.4.15/gl'
make[2]: Leaving directory `/nagios-plugins-1.4.15/gl'
Making all in tap
make[2]: Entering directory `/nagios-plugins-1.4.15/tap'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/nagios-plugins-1.4.15/tap'
Making all in lib
make[2]: Entering directory `/nagios-plugins-1.4.15/lib'
Making all in .
make[3]: Entering directory `/nagios-plugins-1.4.15/lib'
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../gl -I../intl -I../plugins -DNP_STATE_DIR_PREFIX=\"/usr/local/nagios/var\" -g -O2 -MT utils_base.o -MD -MP -MF .deps/utils_base.Tpo -c -o utils_base.o utils_base.c
mv -f .deps/utils_base.Tpo .deps/utils_base.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../gl -I../intl -I../plugins -DNP_STATE_DIR_PREFIX=\"/usr/local/nagios/var\" -g -O2 -MT utils_disk.o -MD -MP -MF .deps/utils_disk.Tpo -c -o utils_disk.o utils_disk.c
mv -f .deps/utils_disk.Tpo .deps/utils_disk.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../gl -I../intl -I../plugins -DNP_STATE_DIR_PREFIX=\"/usr/local/nagios/var\" -g -O2 -MT utils_tcp.o -MD -MP -MF .deps/utils_tcp.Tpo -c -o utils_tcp.o utils_tcp.c
mv -f .deps/utils_tcp.Tpo .deps/utils_tcp.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../gl -I../intl -I../plugins -DNP_STATE_DIR_PREFIX=\"/usr/local/nagios/var\" -g -O2 -MT utils_cmd.o -MD -MP -MF .deps/utils_cmd.Tpo -c -o utils_cmd.o utils_cmd.c
mv -f .deps/utils_cmd.Tpo .deps/utils_cmd.Po
rm -f libnagiosplug.a
ar cru libnagiosplug.a utils_base.o utils_disk.o utils_tcp.o utils_cmd.o
ranlib libnagiosplug.a
make[3]: Leaving directory `/nagios-plugins-1.4.15/lib'
Making all in tests
make[3]: Entering directory `/nagios-plugins-1.4.15/lib/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/nagios-plugins-1.4.15/lib/tests'
make[2]: Leaving directory `/nagios-plugins-1.4.15/lib'
Making all in plugins
make[2]: Entering directory `/nagios-plugins-1.4.15/plugins'
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_apt.o -MD -MP -MF .deps/check_apt.Tpo -c -o check_apt.o check_apt.c
mv -f .deps/check_apt.Tpo .deps/check_apt.Po
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c
mv -f .deps/utils.Tpo .deps/utils.Po

TO BE CONTINUED..
mohsin2011
Posts: 63
Joined: Fri Sep 09, 2011 1:14 am

Re: Chkconfig --add nagios(Error reading Information On Serv

Post by mohsin2011 »

Remianing Portion Of The Above Post Ia As Under !

gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT runcmd.o -MD -MP -MF .deps/runcmd.Tpo -c -o runcmd.o runcmd.c
mv -f .deps/runcmd.Tpo .deps/runcmd.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_apt check_apt.o utils.o runcmd.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_cluster.o -MD -MP -MF .deps/check_cluster.Tpo -c -o check_cluster.o check_cluster.c
mv -f .deps/check_cluster.Tpo .deps/check_cluster.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_cluster check_cluster.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_cluster check_cluster.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_disk.o -MD -MP -MF .deps/check_disk.Tpo -c -o check_disk.o check_disk.c
mv -f .deps/check_disk.Tpo .deps/check_disk.Po
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT popen.o -MD -MP -MF .deps/popen.Tpo -c -o popen.o popen.c
mv -f .deps/popen.Tpo .deps/popen.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_disk check_disk.o utils.o popen.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_dummy.o -MD -MP -MF .deps/check_dummy.Tpo -c -o check_dummy.o check_dummy.c
mv -f .deps/check_dummy.Tpo .deps/check_dummy.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_dummy check_dummy.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_dummy check_dummy.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_http.o -MD -MP -MF .deps/check_http.Tpo -c -o check_http.o check_http.c
mv -f .deps/check_http.Tpo .deps/check_http.Po
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT sslutils.o -MD -MP -MF .deps/sslutils.Tpo -c -o sslutils.o sslutils.c
mv -f .deps/sslutils.Tpo .deps/sslutils.Po
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT netutils.o -MD -MP -MF .deps/netutils.Tpo -c -o netutils.o netutils.c
mv -f .deps/netutils.Tpo .deps/netutils.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_http check_http.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_load.o -MD -MP -MF .deps/check_load.Tpo -c -o check_load.o check_load.c
mv -f .deps/check_load.Tpo .deps/check_load.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_load check_load.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_load check_load.o utils.o popen.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_mrtg.o -MD -MP -MF .deps/check_mrtg.Tpo -c -o check_mrtg.o check_mrtg.c
mv -f .deps/check_mrtg.Tpo .deps/check_mrtg.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_mrtg check_mrtg.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_mrtg check_mrtg.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_mrtgtraf.o -MD -MP -MF .deps/check_mrtgtraf.Tpo -c -o check_mrtgtraf.o check_mrtgtraf.c
mv -f .deps/check_mrtgtraf.Tpo .deps/check_mrtgtraf.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_mrtgtraf check_mrtgtraf.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_mrtgtraf check_mrtgtraf.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_ntp.o -MD -MP -MF .deps/check_ntp.Tpo -c -o check_ntp.o check_ntp.c
mv -f .deps/check_ntp.Tpo .deps/check_ntp.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_ntp check_ntp.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lm -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_ntp check_ntp.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lm -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -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
mv -f .deps/check_ntp_peer.Tpo .deps/check_ntp_peer.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_ntp_peer check_ntp_peer.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lm -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_ntp_peer check_ntp_peer.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lm -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_nwstat.o -MD -MP -MF .deps/check_nwstat.Tpo -c -o check_nwstat.o check_nwstat.c
mv -f .deps/check_nwstat.Tpo .deps/check_nwstat.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_nwstat check_nwstat.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_nwstat check_nwstat.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_overcr.o -MD -MP -MF .deps/check_overcr.Tpo -c -o check_overcr.o check_overcr.c
mv -f .deps/check_overcr.Tpo .deps/check_overcr.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_overcr check_overcr.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_overcr check_overcr.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_ping.o -MD -MP -MF .deps/check_ping.Tpo -c -o check_ping.o check_ping.c
mv -f .deps/check_ping.Tpo .deps/check_ping.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_ping check_ping.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv popen.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_ping check_ping.o netutils.o utils.o popen.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_real.o -MD -MP -MF .deps/check_real.Tpo -c -o check_real.o check_real.c
mv -f .deps/check_real.Tpo .deps/check_real.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_real check_real.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_real check_real.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_smtp.o -MD -MP -MF .deps/check_smtp.Tpo -c -o check_smtp.o check_smtp.c
mv -f .deps/check_smtp.Tpo .deps/check_smtp.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_smtp check_smtp.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_smtp check_smtp.o sslutils.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_ssh.o -MD -MP -MF .deps/check_ssh.Tpo -c -o check_ssh.o check_ssh.c
mv -f .deps/check_ssh.Tpo .deps/check_ssh.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_ssh check_ssh.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_ssh check_ssh.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_tcp.o -MD -MP -MF .deps/check_tcp.Tpo -c -o check_tcp.o check_tcp.c
mv -f .deps/check_tcp.Tpo .deps/check_tcp.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_tcp check_tcp.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_tcp check_tcp.o sslutils.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_time.o -MD -MP -MF .deps/check_time.Tpo -c -o check_time.o check_time.c
mv -f .deps/check_time.Tpo .deps/check_time.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_time check_time.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_time check_time.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -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
mv -f .deps/check_ntp_time.Tpo .deps/check_ntp_time.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_ntp_time check_ntp_time.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lm -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_ntp_time check_ntp_time.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lm -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_ups.o -MD -MP -MF .deps/check_ups.Tpo -c -o check_ups.o check_ups.c
mv -f .deps/check_ups.Tpo .deps/check_ups.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_ups check_ups.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_ups check_ups.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_users.o -MD -MP -MF .deps/check_users.Tpo -c -o check_users.o check_users.c
mv -f .deps/check_users.Tpo .deps/check_users.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_users check_users.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_users check_users.o utils.o popen.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT negate.o -MD -MP -MF .deps/negate.Tpo -c -o negate.o negate.c
mv -f .deps/negate.Tpo .deps/negate.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o negate negate.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o negate negate.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT urlize.o -MD -MP -MF .deps/urlize.Tpo -c -o urlize.o urlize.c
mv -f .deps/urlize.Tpo .deps/urlize.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o urlize urlize.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o urlize urlize.o utils.o popen.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_ldap.o -MD -MP -MF .deps/check_ldap.Tpo -c -o check_ldap.o check_ldap.c
mv -f .deps/check_ldap.Tpo .deps/check_ldap.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_ldap check_ldap.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lldap -llber -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_ldap check_ldap.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lldap -llber -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -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
mv -f .deps/check_ide_smart.Tpo .deps/check_ide_smart.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_ide_smart check_ide_smart.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_ide_smart check_ide_smart.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_procs.o -MD -MP -MF .deps/check_procs.Tpo -c -o check_procs.o check_procs.c
mv -f .deps/check_procs.Tpo .deps/check_procs.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_procs check_procs.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_procs check_procs.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_nagios.o -MD -MP -MF .deps/check_nagios.Tpo -c -o check_nagios.o check_nagios.c
mv -f .deps/check_nagios.Tpo .deps/check_nagios.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_nagios check_nagios.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_nagios check_nagios.o utils.o runcmd.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_dns.o -MD -MP -MF .deps/check_dns.Tpo -c -o check_dns.o check_dns.c
mv -f .deps/check_dns.Tpo .deps/check_dns.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_dns check_dns.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv runcmd.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_dns check_dns.o netutils.o utils.o runcmd.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -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
mv -f .deps/check_by_ssh.Tpo .deps/check_by_ssh.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_by_ssh check_by_ssh.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_by_ssh check_by_ssh.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_swap.o -MD -MP -MF .deps/check_swap.Tpo -c -o check_swap.o check_swap.c
mv -f .deps/check_swap.Tpo .deps/check_swap.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_swap check_swap.o -lm utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_swap check_swap.o utils.o popen.o -L/nagios-plugins-1.4.15/plugins -lm ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_dig.o -MD -MP -MF .deps/check_dig.Tpo -c -o check_dig.o check_dig.c
mv -f .deps/check_dig.Tpo .deps/check_dig.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_dig check_dig.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv runcmd.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_dig check_dig.o netutils.o utils.o runcmd.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_nt.o -MD -MP -MF .deps/check_nt.Tpo -c -o check_nt.o check_nt.c
mv -f .deps/check_nt.Tpo .deps/check_nt.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_nt check_nt.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_nt check_nt.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
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
rm -f check_simap
ln -s check_tcp check_simap
rm -f check_spop
ln -s check_tcp check_spop
rm -f check_jabber
ln -s check_tcp check_jabber
rm -f check_nntps
ln -s check_tcp check_nntps
rm -f check_ssmtp
ln -s check_tcp check_ssmtp
make[2]: Leaving directory `/nagios-plugins-1.4.15/plugins'
Making all in plugins-scripts
make[2]: Entering directory `/nagios-plugins-1.4.15/plugins-scripts'
NP_VERSION=1.4.15 gawk -f ./subst check_breeze.pl > check_breeze
chmod +x check_breeze
NP_VERSION=1.4.15 gawk -f ./subst check_disk_smb.pl > check_disk_smb
chmod +x check_disk_smb
NP_VERSION=1.4.15 gawk -f ./subst check_flexlm.pl > check_flexlm
chmod +x check_flexlm
NP_VERSION=1.4.15 gawk -f ./subst check_ircd.pl > check_ircd
chmod +x check_ircd
NP_VERSION=1.4.15 gawk -f ./subst check_log.sh > check_log
chmod +x check_log
NP_VERSION=1.4.15 gawk -f ./subst check_oracle.sh > check_oracle
chmod +x check_oracle
NP_VERSION=1.4.15 gawk -f ./subst check_rpc.pl > check_rpc
chmod +x check_rpc
NP_VERSION=1.4.15 gawk -f ./subst check_sensors.sh > check_sensors
chmod +x check_sensors
NP_VERSION=1.4.15 gawk -f ./subst check_wave.pl > check_wave
chmod +x check_wave
NP_VERSION=1.4.15 gawk -f ./subst check_ifstatus.pl > check_ifstatus
chmod +x check_ifstatus
NP_VERSION=1.4.15 gawk -f ./subst check_ifoperstatus.pl > check_ifoperstatus
chmod +x check_ifoperstatus
NP_VERSION=1.4.15 gawk -f ./subst check_mailq.pl > check_mailq
chmod +x check_mailq
NP_VERSION=1.4.15 gawk -f ./subst check_file_age.pl > check_file_age
chmod +x check_file_age
make[2]: Leaving directory `/nagios-plugins-1.4.15/plugins-scripts'
Making all in plugins-root
make[2]: Entering directory `/nagios-plugins-1.4.15/plugins-root'
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I../plugins -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_dhcp.o -MD -MP -MF .deps/check_dhcp.Tpo -c -o check_dhcp.o check_dhcp.c
mv -f .deps/check_dhcp.Tpo .deps/check_dhcp.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_dhcp check_dhcp.o ../plugins/netutils.o ../plugins/utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_dhcp check_dhcp.o ../plugins/netutils.o ../plugins/utils.o -L/nagios-plugins-1.4.15/plugins-root ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I../plugins -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_icmp.o -MD -MP -MF .deps/check_icmp.Tpo -c -o check_icmp.o check_icmp.c
mv -f .deps/check_icmp.Tpo .deps/check_icmp.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -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 -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_icmp check_icmp.o ../plugins/netutils.o ../plugins/utils.o -L/nagios-plugins-1.4.15/plugins-root ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
make[2]: Leaving directory `/nagios-plugins-1.4.15/plugins-root'
Making all in po
make[2]: Entering directory `/nagios-plugins-1.4.15/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/nagios-plugins-1.4.15/po'
make[2]: Entering directory `/nagios-plugins-1.4.15'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/nagios-plugins-1.4.15'
make[1]: Leaving directory `/nagios-plugins-1.4.15'
[root@localhost nagios-plugins-1.4.15]#
. -o check_users check_users.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_users check_users.o utils.o popen.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT negate.o -MD -MP -MF .deps/negate.Tpo -c -o negate.o negate.c
mv -f .deps/negate.Tpo .deps/negate.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o negate negate.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o negate negate.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT urlize.o -MD -MP -MF .deps/urlize.Tpo -c -o urlize.o urlize.c
mv -f .deps/urlize.Tpo .deps/urlize.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o urlize urlize.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o urlize urlize.o utils.o popen.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_ldap.o -MD -MP -MF .deps/check_ldap.Tpo -c -o check_ldap.o check_ldap.c
mv -f .deps/check_ldap.Tpo .deps/check_ldap.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_ldap check_ldap.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lldap -llber -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_ldap check_ldap.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lldap -llber -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -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
mv -f .deps/check_ide_smart.Tpo .deps/check_ide_smart.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_ide_smart check_ide_smart.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_ide_smart check_ide_smart.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_procs.o -MD -MP -MF .deps/check_procs.Tpo -c -o check_procs.o check_procs.c
mv -f .deps/check_procs.Tpo .deps/check_procs.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_procs check_procs.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_procs check_procs.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_nagios.o -MD -MP -MF .deps/check_nagios.Tpo -c -o check_nagios.o check_nagios.c
mv -f .deps/check_nagios.Tpo .deps/check_nagios.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_nagios check_nagios.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_nagios check_nagios.o utils.o runcmd.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_dns.o -MD -MP -MF .deps/check_dns.Tpo -c -o check_dns.o check_dns.c
mv -f .deps/check_dns.Tpo .deps/check_dns.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_dns check_dns.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv runcmd.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_dns check_dns.o netutils.o utils.o runcmd.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -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
mv -f .deps/check_by_ssh.Tpo .deps/check_by_ssh.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_by_ssh check_by_ssh.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_by_ssh check_by_ssh.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_swap.o -MD -MP -MF .deps/check_swap.Tpo -c -o check_swap.o check_swap.c
mv -f .deps/check_swap.Tpo .deps/check_swap.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_swap check_swap.o -lm utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_swap check_swap.o utils.o popen.o -L/nagios-plugins-1.4.15/plugins -lm ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_dig.o -MD -MP -MF .deps/check_dig.Tpo -c -o check_dig.o check_dig.c
mv -f .deps/check_dig.Tpo .deps/check_dig.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_dig check_dig.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv runcmd.o -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_dig check_dig.o netutils.o utils.o runcmd.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_nt.o -MD -MP -MF .deps/check_nt.Tpo -c -o check_nt.o check_nt.c
mv -f .deps/check_nt.Tpo .deps/check_nt.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_nt check_nt.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_nt check_nt.o netutils.o utils.o -L/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
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
rm -f check_simap
ln -s check_tcp check_simap
rm -f check_spop
ln -s check_tcp check_spop
rm -f check_jabber
ln -s check_tcp check_jabber
rm -f check_nntps
ln -s check_tcp check_nntps
rm -f check_ssmtp
ln -s check_tcp check_ssmtp
make[2]: Leaving directory `/nagios-plugins-1.4.15/plugins'
Making all in plugins-scripts
make[2]: Entering directory `/nagios-plugins-1.4.15/plugins-scripts'
NP_VERSION=1.4.15 gawk -f ./subst check_breeze.pl > check_breeze
chmod +x check_breeze
NP_VERSION=1.4.15 gawk -f ./subst check_disk_smb.pl > check_disk_smb
chmod +x check_disk_smb
NP_VERSION=1.4.15 gawk -f ./subst check_flexlm.pl > check_flexlm
chmod +x check_flexlm
NP_VERSION=1.4.15 gawk -f ./subst check_ircd.pl > check_ircd
chmod +x check_ircd
NP_VERSION=1.4.15 gawk -f ./subst check_log.sh > check_log
chmod +x check_log
NP_VERSION=1.4.15 gawk -f ./subst check_oracle.sh > check_oracle
chmod +x check_oracle
NP_VERSION=1.4.15 gawk -f ./subst check_rpc.pl > check_rpc
chmod +x check_rpc
NP_VERSION=1.4.15 gawk -f ./subst check_sensors.sh > check_sensors
chmod +x check_sensors
NP_VERSION=1.4.15 gawk -f ./subst check_wave.pl > check_wave
chmod +x check_wave
NP_VERSION=1.4.15 gawk -f ./subst check_ifstatus.pl > check_ifstatus
chmod +x check_ifstatus
NP_VERSION=1.4.15 gawk -f ./subst check_ifoperstatus.pl > check_ifoperstatus
chmod +x check_ifoperstatus
NP_VERSION=1.4.15 gawk -f ./subst check_mailq.pl > check_mailq
chmod +x check_mailq
NP_VERSION=1.4.15 gawk -f ./subst check_file_age.pl > check_file_age
chmod +x check_file_age
make[2]: Leaving directory `/nagios-plugins-1.4.15/plugins-scripts'
Making all in plugins-root
make[2]: Entering directory `/nagios-plugins-1.4.15/plugins-root'
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I../plugins -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_dhcp.o -MD -MP -MF .deps/check_dhcp.Tpo -c -o check_dhcp.o check_dhcp.c
mv -f .deps/check_dhcp.Tpo .deps/check_dhcp.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_dhcp check_dhcp.o ../plugins/netutils.o ../plugins/utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_dhcp check_dhcp.o ../plugins/netutils.o ../plugins/utils.o -L/nagios-plugins-1.4.15/plugins-root ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I../plugins -I/usr/include -DNP_VERSION='"1.4.15"' -g -O2 -MT check_icmp.o -MD -MP -MF .deps/check_icmp.Tpo -c -o check_icmp.o check_icmp.c
mv -f .deps/check_icmp.Tpo .deps/check_icmp.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -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 -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_icmp check_icmp.o ../plugins/netutils.o ../plugins/utils.o -L/nagios-plugins-1.4.15/plugins-root ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
make[2]: Leaving directory `/nagios-plugins-1.4.15/plugins-root'
Making all in po
make[2]: Entering directory `/nagios-plugins-1.4.15/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/nagios-plugins-1.4.15/po'
make[2]: Entering directory `/nagios-plugins-1.4.15'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/nagios-plugins-1.4.15'
make[1]: Leaving directory `/nagios-plugins-1.4.15'
[root@localhost nagios-plugins-1.4.15]# make install
Making install in gl
make[1]: Entering directory `/nagios-plugins-1.4.15/gl'
make install-recursive
make[2]: Entering directory `/nagios-plugins-1.4.15/gl'
make[3]: Entering directory `/nagios-plugins-1.4.15/gl'
make[4]: Entering directory `/nagios-plugins-1.4.15/gl'
if test yes = no; then \
case 'linux-gnu' in \
darwin[56]*) \
need_charset_alias=true ;; \
darwin* | cygwin* | mingw* | pw32* | cegcc*) \
need_charset_alias=false ;; \
*) \
need_charset_alias=true ;; \
esac ; \
else \
need_charset_alias=false ; \
fi ; \
if $need_charset_alias; then \
/bin/sh ../build-aux/mkinstalldirs /usr/local/nagios/lib ; \
fi ; \
if test -f /usr/local/nagios/lib/charset.alias; then \
sed -f ref-add.sed /usr/local/nagios/lib/charset.alias > /usr/local/nagios/lib/charset.tmp ; \
/usr/bin/install -c -o nagios -g nagios -m 644 /usr/local/nagios/lib/charset.tmp /usr/local/nagios/lib/charset.alias ; \
rm -f /usr/local/nagios/lib/charset.tmp ; \
else \
if $need_charset_alias; then \
sed -f ref-add.sed charset.alias > /usr/local/nagios/lib/charset.tmp ; \
/usr/bin/install -c -o nagios -g nagios -m 644 /usr/local/nagios/lib/charset.tmp /usr/local/nagios/lib/charset.alias ; \
rm -f /usr/local/nagios/lib/charset.tmp ; \
fi ; \
fi
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/nagios-plugins-1.4.15/gl'
make[3]: Leaving directory `/nagios-plugins-1.4.15/gl'
make[2]: Leaving directory `/nagios-plugins-1.4.15/gl'
make[1]: Leaving directory `/nagios-plugins-1.4.15/gl'
Making install in tap
make[1]: Entering directory `/nagios-plugins-1.4.15/tap'
make[2]: Entering directory `/nagios-plugins-1.4.15/tap'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/nagios/include" || /bin/mkdir -p "/usr/local/nagios/include"
make[2]: Leaving directory `/nagios-plugins-1.4.15/tap'
make[1]: Leaving directory `/nagios-plugins-1.4.15/tap'
Making install in lib
make[1]: Entering directory `/nagios-plugins-1.4.15/lib'
Making install in .
make[2]: Entering directory `/nagios-plugins-1.4.15/lib'
make[3]: Entering directory `/nagios-plugins-1.4.15/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 `/nagios-plugins-1.4.15/lib'
make[2]: Leaving directory `/nagios-plugins-1.4.15/lib'
Making install in tests
make[2]: Entering directory `/nagios-plugins-1.4.15/lib/tests'
make[3]: Entering directory `/nagios-plugins-1.4.15/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 `/nagios-plugins-1.4.15/lib/tests'
make[2]: Leaving directory `/nagios-plugins-1.4.15/lib/tests'
make[1]: Leaving directory `/nagios-plugins-1.4.15/lib'
Making install in plugins
make[1]: Entering directory `/nagios-plugins-1.4.15/plugins'
make[2]: Entering directory `/nagios-plugins-1.4.15/plugins'
test -z "/usr/local/nagios/libexec" || /bin/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'
libtool: install: /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'
libtool: install: /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 -g nagios 'check_disk' '/usr/local/nagios/libexec/check_disk'
libtool: install: /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 -g nagios 'check_dummy' '/usr/local/nagios/libexec/check_dummy'
libtool: install: /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 -g nagios 'check_http' '/usr/local/nagios/libexec/check_http'
libtool: install: /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 -g nagios 'check_load' '/usr/local/nagios/libexec/check_load'
libtool: install: /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 -g nagios 'check_mrtg' '/usr/local/nagios/libexec/check_mrtg'
libtool: install: /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 -g nagios 'check_mrtgtraf' '/usr/local/nagios/libexec/check_mrtgtraf'
libtool: install: /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 -g nagios 'check_ntp' '/usr/local/nagios/libexec/check_ntp'
libtool: install: /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 -g nagios 'check_ntp_peer' '/usr/local/nagios/libexec/check_ntp_peer'
libtool: install: /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 -g nagios 'check_nwstat' '/usr/local/nagios/libexec/check_nwstat'
libtool: install: /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 -g nagios 'check_overcr' '/usr/local/nagios/libexec/check_overcr'
libtool: install: /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 -g nagios 'check_ping' '/usr/local/nagios/libexec/check_ping'
libtool: install: /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 -g nagios 'check_real' '/usr/local/nagios/libexec/check_real'
libtool: install: /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 -g nagios 'check_smtp' '/usr/local/nagios/libexec/check_smtp'
libtool: install: /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 -g nagios 'check_ssh' '/usr/local/nagios/libexec/check_ssh'
libtool: install: /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 -g nagios 'check_tcp' '/usr/local/nagios/libexec/check_tcp'
libtool: install: /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 -g nagios 'check_time' '/usr/local/nagios/libexec/check_time'
libtool: install: /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 -g nagios 'check_ntp_time' '/usr/local/nagios/libexec/check_ntp_time'
libtool: install: /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 -g nagios 'check_ups' '/usr/local/nagios/libexec/check_ups'
libtool: install: /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 -g nagios 'check_users' '/usr/local/nagios/libexec/check_users'
libtool: install: /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 -g nagios 'negate' '/usr/local/nagios/libexec/negate'
libtool: install: /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 -g nagios 'urlize' '/usr/local/nagios/libexec/urlize'
libtool: install: /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 -g nagios 'check_ldap' '/usr/local/nagios/libexec/check_ldap'
libtool: install: /usr/bin/install -c -o nagios -g nagios check_ldap /usr/local/nagios/libexec/check_ldap
/bin/sh ../libtool --mode=install /usr/bin/install -c -o nagios -g nagios 'check_ide_smart' '/usr/local/nagios/libexec/check_ide_smart'
libtool: install: /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 -g nagios 'check_procs' '/usr/local/nagios/libexec/check_procs'
libtool: install: /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 -g nagios 'check_nagios' '/usr/local/nagios/libexec/check_nagios'
libtool: install: /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 -g nagios 'check_dns' '/usr/local/nagios/libexec/check_dns'
libtool: install: /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 -g nagios 'check_by_ssh' '/usr/local/nagios/libexec/check_by_ssh'
libtool: install: /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 -g nagios 'check_swap' '/usr/local/nagios/libexec/check_swap'
libtool: install: /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 -g nagios 'check_dig' '/usr/local/nagios/libexec/check_dig'
libtool: install: /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'
libtool: install: /usr/bin/install -c -o nagios -g nagios check_nt /usr/local/nagios/libexec/check_nt
make install-exec-hook
make[3]: Entering directory `/nagios-plugins-1.4.15/plugins'
cd /usr/local/nagios/libexec && \
for i in check_ftp check_imap check_nntp check_pop check_udp check_clamd check_simap check_spop check_jabber check_nntps check_ssmtp ; 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 `/nagios-plugins-1.4.15/plugins'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/nagios-plugins-1.4.15/plugins'
make[1]: Leaving directory `/nagios-plugins-1.4.15/plugins'
Making install in plugins-scripts
make[1]: Entering directory `/nagios-plugins-1.4.15/plugins-scripts'
make[2]: Entering directory `/nagios-plugins-1.4.15/plugins-scripts'
test -z "/usr/local/nagios/libexec" || /bin/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 `/nagios-plugins-1.4.15/plugins-scripts'
make[1]: Leaving directory `/nagios-plugins-1.4.15/plugins-scripts'
Making install in plugins-root
make[1]: Entering directory `/nagios-plugins-1.4.15/plugins-root'
make[2]: Entering directory `/nagios-plugins-1.4.15/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 `/nagios-plugins-1.4.15/plugins-root'
make[1]: Leaving directory `/nagios-plugins-1.4.15/plugins-root'
Making install in po
make[1]: Entering directory `/nagios-plugins-1.4.15/po'
/bin/mkdir -p /usr/local/nagios/share
installing fr.gmo as /usr/local/nagios/share/locale/fr/LC_MESSAGES/nagios-plugins.mo
installing de.gmo as /usr/local/nagios/share/locale/de/LC_MESSAGES/nagios-plugins.mo
if test "nagios-plugins" = "gettext-tools"; then \
/bin/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 `/nagios-plugins-1.4.15/po'
make[1]: Entering directory `/nagios-plugins-1.4.15'
make[2]: Entering directory `/nagios-plugins-1.4.15'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/nagios-plugins-1.4.15'
make[1]: Leaving directory `/nagios-plugins-1.4.15'
[root@localhost nagios-plugins-1.4.15]#

[root@localhost nagios-plugins-1.4.15]# chkconfig --add nagios
error reading information on service nagios: No such file or directory
[root@localhost nagios-plugins-1.4.15]# cd /
[root@localhost /]# chkconfig --add nagios
error reading information on service nagios: No such file or directory
[root@localhost /]# chkconfig --add nagios
error reading information on service nagios: No such file or directory
[root@localhost /]#
Nagios Core 3.3.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 07-25-2011
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Error: Cannot open main configuration file '/usr/local/nagios/etc/nagios' for reading!
Error processing main config file!



***> The name of the main configuration file looks suspicious...

Make sure you are specifying the name of the MAIN configuration file on
the command line and not the name of another configuration file. The
main configuration file is typically '/usr/local/nagios/etc/nagios.cfg'

***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.

[root@localhost /]#

Hopes for your suggestions ...

Thanks In Advance,
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Chkconfig --add nagios(Error reading Information On Serv

Post by jsmurphy »

So as best I can tell the compile and install itself went through fine, with the re-install does /etc/init.d/nagios exist? Are you able to do an ls -l on /usr/local/nagios/etc and post that. What OS are you running on? does the nagios user exist in /etc/passwd and do the nagios and nagcmd groups exist in /etc/group?

I'm wondering if it's a permissions issue.
mohsin2011
Posts: 63
Joined: Fri Sep 09, 2011 1:14 am

Re: Chkconfig --add nagios(Error reading Information On Serv

Post by mohsin2011 »

Thanks for your reply !

i am using RHEL 5 (free edition) and nagios core that is also free
initially i install nagios xi and i configure it easily and use it but i have to use nagios core so i switch to it! as i have told you my issue thats why this time i try to install nagios core with that patren i installed nagios xi just for try so i install it in tmp folder rather then as mentioned in nagios core guide at root we have to install it
but after having this configuration the answer of your questions are,

/etc/init.d/nagios does not exsis.

i do ls -l on /usr/local/nagios/etc and the result is,
[root@localhost tmp]# ls -l /usr/local/nagios/etc
total 88
-rw-rw-r-- 1 nagios nagios 11408 Oct 19 07:23 cgi.cfg
-rw-r--r-- 1 root root 26 Oct 19 07:25 htpasswd.users
-rw-rw-r-- 1 nagios nagios 43774 Oct 19 07:23 nagios.cfg
drwxrwxr-x 2 nagios nagios 4096 Oct 19 07:23 objects
-rw-rw---- 1 nagios nagios 1340 Oct 19 07:23 resource.cfg

/etc/passwd contents are as follows i create user name "nagios",

root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
distcache:x:94:94:Distcache:/:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
pcap:x:77:77::/var/arpwatch:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
webalizer:x:67:67:Webalizer:/var/www/usage:/sbin/nologin
oprofile:x:16:16:Special user account to be used by OProfile:/home/oprofile:/sbin/nologin
squid:x:23:23::/var/spool/squid:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
avahi-autoipd:x:100:156:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin
gdm:x:42:42::/var/gdm:/sbin/nologin
sabayon:x:86:86:Sabayon user:/home/sabayon:/sbin/nologin
nagios:x:500:500:nagios:/home/nagios:/bin/bash

/etc/group contents are as follows,

root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
tty:x:5:
disk:x:6:root
lp:x:7:daemon,lp
mem:x:8:
kmem:x:9:
wheel:x:10:root
mail:x:12:mail
news:x:13:news
uucp:x:14:uucp
man:x:15:
games:x:20:
gopher:x:30:
dip:x:40:
ftp:x:50:
lock:x:54:
nobody:x:99:
users:x:100:
utmp:x:22:
utempter:x:35:
distcache:x:94:
nscd:x:28:
floppy:x:19:
vcsa:x:69:
pcap:x:77:
slocate:x:21:
ntp:x:38:
dbus:x:81:
audio:x:63:gdm
apache:x:48:
avahi:x:70:
mailnull:x:47:
smmsp:x:51:
rpc:x:32:
sshd:x:74:
webalizer:x:67:
oprofile:x:16:
squid:x:23:
rpcuser:x:29:
nfsnobody:x:65534:
xfs:x:43:
stapdev:x:101:
stapusr:x:102:
stap-server:x:155:
haldaemon:x:68:
avahi-autoipd:x:156:
gdm:x:42:
sabayon:x:86:
nagios:x:500:
nagcmd:x:501:nagios,apache

Now hopes for your suggestions..
mohsin2011
Posts: 63
Joined: Fri Sep 09, 2011 1:14 am

Re: Chkconfig --add nagios(Error reading Information On Serv

Post by mohsin2011 »

Thanks for your cooperation i have successfully log in my issue has resolved by the Fedora Quick Start Guide "8th Step" :D
Locked