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.
cd ./base && make install
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6 /base'
make install-basic
make[2]: Entering directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6 /base'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin
/usr/bin/install -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin
/usr/bin/install -c -m 774 -o nagios -g nagios nagiostats /usr/local/nagios/bin
make[2]: Leaving directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6/ base'
make strip-post-install
make[2]: Entering directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6 /base'
/usr/bin/strip /usr/local/nagios/bin/nagios
/usr/bin/strip /usr/local/nagios/bin/nagiostats
make[2]: Leaving directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6/ base'
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6/ base'
cd ./cgi && make install
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6 /cgi'
Makefile:169: warning: overriding commands for target `tac-xml.cgi'
Makefile:166: warning: ignoring old commands for target `tac-xml.cgi'
make install-basic
make[2]: Entering directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6 /cgi'
Makefile:169: warning: overriding commands for target `tac-xml.cgi'
Makefile:166: warning: ignoring old commands for target `tac-xml.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 `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6/ cgi'
make strip-post-install
make[2]: Entering directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6 /cgi'
Makefile:169: warning: overriding commands for target `tac-xml.cgi'
Makefile:166: warning: ignoring old commands for target `tac-xml.cgi'
for file in *.cgi; do \
/usr/bin/strip /usr/local/nagios/sbin/$file; \
done
make[2]: Leaving directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6/ cgi'
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6/ cgi'
cd ./html && make install
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6 /html'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/media
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/styles heets
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/contex thelp
/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/i mages
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/js
/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/includ es
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includ es/rss
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includ es/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/shar e
rm -f /usr/local/nagios/share/index.html
rm -f /usr/local/nagios/share/main.html
rm -f /usr/local/nagios/share/side.html
/usr/bin/install -c -m 664 -o nagios -g nagios jsonquery.html /usr/local/nagios/ share
/usr/bin/install -c -m 664 -o nagios -g nagios rss-corefeed.html /usr/local/nagi os/share
/usr/bin/install -c -m 664 -o nagios -g nagios rss-newsfeed.html /usr/local/nagi os/share
for file in *.php; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagio s/share; done
for file in stylesheets/*.css; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagio s/share/stylesheets; done
for file in contexthelp/*.html; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagio s/share/contexthelp; done
for file in js/*.js; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagio s/share/js; done
for file in images/*.gif; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagio s/share/images; done
for file in images/*.jpg; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagio s/share/images; done
for file in images/*.png; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagio s/share/images; done
for file in images/*.ico; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagio s/share/images; done
for file in images/logos/*.*; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagio s/share/images/logos; done
for file in includes/*.*; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagio s/share/includes; done
for file in includes/rss/*.*; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagio s/share/includes/rss; done
for file in includes/rss/extlib/*.*; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagio s/share/includes/rss/extlib; done
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6/ html'
make install-exfoliation
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6 '
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 `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6'
make install-basic
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6 '
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var/archives
/usr/bin/install -c -m 775 -o nagios -g nagcmd -d /usr/local/nagios/var/spool/ch eckresults
chmod g+s /usr/local/nagios/var/spool/checkresults
*** Main program, CGIs and HTML files installed ***
You can continue with installing Nagios as follows (type 'make'
without any arguments for a list of all possible options):
make install-init
- This installs the init script in /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 `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.6'
Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagio s configuration.
[root@pwnagiosxi1 nagiosxi]# reboot
Broadcast message from [email protected]
(/dev/pts/0) at 13:44 ...
The system is going down for reboot NOW!
[root@pwnagiosxi1 nagiosxi]#
Verify your config and fix whatever error is listed. You probably have a ghost config file or something.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Yes it does, however it is completely possible the upgrade was bailing because it found a ghost config in the /etc/ directory somewhere, this is new to the core4 verification process. What you could do, (make sure you have your configs backed up) then remove all of the configs from:
I just did that and the ../host/ and ../services/ directories were clear before running the "apply configuration" repopulated them (cleanly too I might add)
I reran the upgrade and it failed again at the same point, with the same error. I then rolled the machine back (its the CentOS VM Appliance)
Look like I will have to lodge a formal support request.
The upgrade very well may have completed successfully, and just failed the config verification at the end. Either giv it another try, or open a ticket with [email protected] and we can remote in and assist through the upgrade.
edit: locking as a support ticket has been opened.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.