Setup:InstallationScriptsForCentreon2

From Wiki Centreon

Jump to: navigation, search


Installation Script for Ubuntu Server

If you prefer a script that performs all of the above steps automagically just use the Centreon Appliance Installer Script. On a fresh installation of Ubuntu Server, you just need to execute:

 wget http://www.rodolfomatos.net/centreon/centreon-installer
 sudo bash centreon-installer

and answer "yes" to all questions... ;-)

Installation Script for Debian Etch and Fedora 9

The last version ( 01/12/08 ) of this script includes :

- support of Debian Etch

- support of Fedora 9

- support of CentOS 5

- support of proxy (after modification bring by Kimiz), untested feature

- auto install of packages, nagios and its plugins, ndo and Centreon (use templates).

I advise to use this script on a virgin server. On Fedora, this script disables SeLinux and Iptables.

This script is available on SVN. To download it :

 wget http://svn.centreon.com/branches/centreon-community/Centreon/contrib/pre_requisit_install/Debian-Fedora-CentOS-01-12-08/prerequis.tar

After that, you must uncompress it and make it executable :

 tar -xvf prerequis.tar
 cd Debian-Fedora-CentOS-01-12-08
 chmod +x * 

And run it :

 ./00-install.sh

Answer to the question. This script is automatic but if you use Fedora you must wait for yum to ask you a confirmation to download the packages. At the end, Centreon asks you if you want to install some things (NDO, Pear ...), if you aren't sure about your answer, accept all.

After that, you must use a web browser to finish the installation, you can follow this wiki page's : http://en.doc.centreon.com/Nagios3_Centreon2_Ubuntu_centreon_web .

When the web installation is finished, they are still some step :

1. Go to Configuration -> Nagios -> Check "Move export files" and "Restart Nagios". Next click on Export.

2. In a terminal, you must start some services :

 /etc/init.d/ndo start
 /etc/init.d/centstorage start
 /etc/init.d/centcore start
 /etc/init.d/nagios restart

3. Wait a few minutes and you will see the hosts and the services !

If you need help you can go on : http://forum.centreon.com/showthread.php?t=6140 or irc://irc.azurchat.com (in #centreon)

Personal tools