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.

Dependencies
_ 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

[main]
enable=1

3) download and install rpm forge

root@linux: ~ # wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
root@linux: ~ # rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
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 http://download.centreon.com/centreon/centreon-2.0.tar.gz

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 # ./install.sh -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 RRDs.pm config will be :

/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/RRDs.pm

the location of  PEAR.php config will be:

/usr/share/pear/PEAR.php

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

Links:
+ http://www.google.com
+ http://tech-db.com/node/26
+ http://nagioswiki.com/wiki/index.php/Installing_Centreon_on_Centos_5

About these ads

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
    feed?

  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:

WordPress.com Logo

You are commenting using your WordPress.com 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