This tutorial will guide the user to complete the installation of Centreon on FreeBSD. We will be using an installation on a FreeBSD 9.0-PRERELEASE kernel version, kernel version does not influence the tutorial. It may be FreeBSD 8.x or 9.x

What is the Centreon?

Centreon is a powerful tool for monitoring hosts and services, it is a frontend that works on top of Nagios, adding many features for viewing and alert history, status, etc. ..

Need Support ? Click Here !

To learn more about the tool, I invite you to visit the official site at http://www.centreon.com

What we need? ?

  • Apache
  • PHP 5.3.x + a lot of dependencies
  • Mysql
  • Nagios
  • Pear + a lot of dependencies
  • Perl + a lot of dependencies
  • rrdtool
  • snmp
  • sudo
  • Centreon (obvious :-p)

Starting installation of packages

For this tutorial, we will use the tool portmaster, you can even do all the installation manually, but I advise u to use the tool in order to facilitate the installation of the dependencies and the amount of packages that we need.

if you are using csh shell

We start by some common packages to provide the Centreon:

Installing our database (if using MySQL outside, only install mysql-client)

Let’s go, install the PHP:

Attention to configure PHP5 package, you need some options checked, at least those which are listed below:

PEAR:

Let’s go to the part of Perl:

Problems with network? implementing security? click here !

An important tool that can not miss in our environment:

And our background of Centreon, Nagios!

Check the options:

Nagios-plugins:

If installing in a Jail, check below:

ndoutils:

Let’s settings for some packages:

if you are using csh shell

PHP:

Apache:

Mysql:

SNMP:

Fix the file /usr/local/etc/snmp/snmpd.conf with location information and identification.

If you are installing snmpd in a Jail, see this article for the same operation in Jail:
http://ggeek.blogspot.com/2008/10/freebsd-jails-and-net-snmp.html

Consulting in Open Source, contact us!

Nagios:

NDOUtils:

Download Centreon:

Making Centreon read the bash shell

There are two ways (choose one):

- Changing the path the scripts Centreon:

- Creating a symbolic link in /bin

Some preparations for the installation:

Now start the installation via the command:

Follow the installation process through the video below:

After installation, we will leave for the web part to do so, restart MySQL and Apache:

We fix some patches of permission:

We also fix a problem of dependence on the version of PEAR:

Now this way, we can point to our broswer centreon server address:

Follow the video to configure the web:

There is less, we still need to export the configuration files for our NDO-Utils to work for it, follow the export of the same video on the web:

Now, let’s start the processes of Centreon:

Setting the part of the CRON to FreeBSD:

Restart nagios processes and ndoutils

Ready! Now just configure your hosts and start monitoring.

If you need support Centreon, contact the Mundounix, we offer support and advice for network monitoring solution.

http://www.mundounix.com.br