Objectives The aim of this project is to install Centreon with Nagios, and a network mapping tool called Nagvis. You will be able to add hosts and services to Centreon, and properly synchronize with Nagios. Hosts and services added will also be available to be mapped using Nagvis. Nagios: An open source computer system monitoring, network monitoring and infrastructure monitoring software application. Nagios offers monitoring and alerting services for servers, switches, applications, and services. Centreon: IT infrastructure and application monitoring for service performance. Originally rooted in making Nagios easier to use and manage, Centreon has since come a long way. Keeping the best of open source, Centreon is a full-fledged industry-strength solution that meets the needs of the most demanding IT management teams. Nagvis: A visualization add-on for the well-known network management system Nagios. It can be used to visualize Nagios data, such as displaying IT processes like a mail system or a network infrastructure. Using data supplied by a backend it will update objects placed on maps in certain intervals to reflect the current state. Prerequisites Before going on with the implementation of this project, you need to have a machine running a fresh installation of Debian 6. This documentation does not cover Linux installation. Required Packages In order to install Nagios properly, it is important that the following packages are installed and configured. Issue the following command to install all required packages. After running the above commands, you need to restart the Apache service. Installing Nagios Plugins If you go over to the Nagios web interface and click on Services, you will get the following: In order to properly check for running services, we need to install Nagios plugins. Installing NDOUTILS NDOUtils is an addon which allows you to export current and historical data from one or more Nagios instances to a MySQL database. This will be used to synchronize data between Nagios and Centreon. We are going to download NDOUTILS 1. Once downloaded, extract and go to the extracted folder. This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. Do you accept GPL license? Change macros for CentPlugins OK Installing the plugins OK Change right on centreon. Change macros for snmptrapd. We now have to configure Centreon through its web interface. Click Next to run the Dependency check up After making sure all dependencies are loaded successfully, click Next. The third step will allow us to properly configure Centreon to access Nagios directories and its different components. Since we are going to use Nagios, choose ndoutils to be the default Broker module. The directory of Ndomod binary is the following: Ndomod binary ndomod. The sixth step will configure Centreon database. The Root password is the same password we input when we first configured MySQL. You can choose any Database user password. Root password: systeen Database user password: systeen123 The seventh step will start the installation and configuration of the database. Checking for corrupt , not cleanly closed and upgrade needing tables. Go back to the Centreon interface and click on Refresh. You will end up with the following result. Click Next, and then on Finish to start using Centreon. Logging to Web Interface Login to Centreon using the password you provided in step five. After installation, we need to start the following services, and then reboot the machine to ensure everything is working properly. Centreon and Nagios Synchronization Finally, we need to start the first synchronization between Nagios and Centreon via NDOUTILS. Then we need to restart the NDOUTILS plugin. We can do this through the Centreon web interface. To ensure that both Nagios and Centreon are synchronized, you should have the below similar output: As you can see, both Nagios and Centreon web interfaces have the same Hosts and Services. Now, every time you do a change in Centreon configuration such as adding Hosts or Services, make sure you Generate the new configuration by doing the below: VIII. Installing Missing Packages NagVis is a visualization addon network mapping tool for Nagios. It can be used to visualize Nagios data, such as IT processes like a mail system or a network infrastructure. Using data supplied by a backend it will update objects placed on maps in certain intervals to reflect the current state. First, we need to install the missing packages used by Nagvis. The installer has been tested on the following systems: - Debian, since Etch 4. That hopefully includes RedHat, Fedora, CentOS, OpenSuSE If you experience any problems using these or other distributions, please report that to the NagVis team. Available: mklivestatus,ndo2db,ido2db Do you want to use backend mklivestatus? We need to edit Nagvis configuration to choose the database to which Nagvis is going to connect to. Finally, you will have the following output; Nagvis web interface. You can now create a map, and select Hosts and Services already found in Centreon.