Installing Centreon on Centos

What is Centreon?

Centreon is an Open Source software package that lets you supervise all the infrastructures and applications comprising your information system.
please check this for more information.

_ nagios
_ nagios-plugins
_ ndoutils
_ nrpe
_ make
_ sudo
_ apache (httpd server)
_ mysql (database server)
_ php
_ gd
_ gd-devel
_ perl
_ gcc
_ rrdtool
_ net-snmp

Step 1: Install Dependencies

root@linux: ~ # yum -y install make sudo gd gd-devel httpd* mysql* php* perl* gcc rrdtool* net-snmp*

if you can’t install rrdtool via yum, you can follow this:

1) add rpmforge repository

root@linux: ~ # yum -y install yum-priorities

2) edit file priorities.conf

root@linux: ~ # vim /etc/yum/pluginconf.d/priorities.conf


3) download and install rpm forge

root@linux: ~ # wget
root@linux: ~ # rpm –import
root@linux: ~ # rpm -K rpmforge-release-0.3.6-1.el5.rf.i386.rpm
root@linux: ~ # rpm -i rpmforge-release-0.3.6-1.el5.rf.i386.rpm

4) install rrdtool using yum

root@linux: ~ # yum -y install rrdtool rrdtool-devel perl-rrdtool

to install nagios, nagios-plugins, ndoutil, nrpe, you can check this.

Step 2: Compile Centreon

1)download package

root@linux: ~ # wget

2) extract package

root@linux: ~ # tar -xzvf centreon-2.0.tar.gz

3) compile centreon

root@linux: ~ # cd centreon-2.0
root@linux: centreon-2.0 # ./ -i

answer all question script. you can just press return as default.
or press key y for yes or n for no.

the location of config will be :


the location of  PEAR.php config will be:


When done with the compilation you can check in http://yourdomain/centreon, and continue with web interface installation.

4)web interface installation
follow instruction on-screen and click Next button to continue installation. make sure those is OK result.
if there’s any problem, it’s give you declaration for help (step 4). if u get error like step 4 you can use chown and chmod for solution.

root@linux: ~ # chown -R nagios.apache /usr/local/nagios
root@linux: ~ # chmod -R 775 /usr/local/nagios

5) Test. Open your browser and goto http://yourdomain/centreon


3 thoughts on “Installing Centreon on Centos

  1. I drop a leave a response when I appreciate a article on a site or
    if I have something to valuable to contribute to the conversation.
    It’s triggered by the fire displayed in the article I browsed. And after this article Installing Centreon on Centos « The Digital Metamorphosis of a Shuttered Butterfly!. I was excited enough to drop a thought ;) I actually do have a few questions for you if you don’t mind.
    Could it be just me or does it look like some of the remarks
    come across like written by brain dead individuals? :-P And, if you are posting at additional online social sites, I would like to keep up with you.

    Would you list every one of your social pages
    like your linkedin profile, Facebook page or twitter

  2. Penney says:

    Hello it’s me, I am also visiting this website daily, this website is truly fastidious and the people are actually sharing pleasant thoughts.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s