Top Banner
Centreon Deployment Chris Scicluna
27

Centreon Deployment Chris Scicluna

Jan 07, 2016

Download

Documents

Kathy Sander

Centreon Deployment Chris Scicluna. Contents. 1. What is Centreon? 2. Installation 2.1. Nagios Installation 2.2. Centreon Installation 3. Screenshots: Monitoring, Configuration and more 4. Demo. What is Centreon?. Monitors servers, switches, services, etc through SNMP. What is Centreon?. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Centreon Deployment Chris Scicluna

Centreon Deployment

Chris Scicluna

Page 2: Centreon Deployment Chris Scicluna

Contents

1. What is Centreon?

2. Installation

– 2.1. Nagios Installation

– 2.2. Centreon Installation

3. Screenshots: Monitoring, Configuration and more

4. Demo

Page 3: Centreon Deployment Chris Scicluna

What is Centreon? Monitors servers, switches, services, etc through SNMP

Page 4: Centreon Deployment Chris Scicluna

What is Centreon? Distributed, scalable monitoring.

Page 5: Centreon Deployment Chris Scicluna

What is Centreon?

Includes real time front end management

GUI management

Nagios Config File

Page 6: Centreon Deployment Chris Scicluna

What is Centreon?

Other points about centreon v2:

Based on open source monitoring engine Nagios3

Provides load distribution and high availability

Flexibility and modularity enhanced over nagios

Page 7: Centreon Deployment Chris Scicluna

Installation – Prerequisites

A clean installation of Ubuntu Server Edition was installed

Centreon main prerequisites :– Apache– Php– MySql

– Mail (Exim or Postfix)– Compiler

All the prerequisites can be installed in one go:

apt-get install sudo bsd-mailx lsb-release build-essential apache2 apache2-mpm-prefork php5 php5-mysql php-pear php5-ldap php5-snmp php5-gd mysql-server libmysqlclient15-dev rrdtool librrds-perl libconfig-inifiles-perl libcrypt-des-perl libdigest-hmac-perl libdigest-sha1-perl libgd-gd2-perl snmp snmpd libnet-snmp-perl libsnmp-perl libgd2-xpm libgd2-xpm-dev libpng12-dev postfix

Page 8: Centreon Deployment Chris Scicluna

Installation – Prerequisites

MySql will require password and confirmation

Postfix configuration – Select no configuration

5

Page 9: Centreon Deployment Chris Scicluna

Installation – Nagios 3 Create the nagios user : # /usr/sbin/useradd -m nagios# passwd nagios

Create a group for the nagios user and add apache to it:# /usr/sbin/groupadd nagcmd# /usr/sbin/usermod -G nagios,nagcmd nagios

Download, unpack, compile and install latest version:# cd /usr/local/src/# wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.2.1.tar.gz# tar -xzf nagios-3.2.1.tar.gz# cd nagios-3.2.1# ./configure --prefix=/usr/local/nagios --with-command-group=nagcmd --enable-nanosleep --

enable-event-broker# make all# make install# make install-init# make install-commandmode# make install-config

Page 10: Centreon Deployment Chris Scicluna

Installation – Nagios Plugins Download the latest edition of nagios plugins# cd /usr/local/src# wget http://ovh.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.15.tar.gz

Install plugin prerequisites#apt-get install dnsutils fping#apt-get install libssl-dev#apt-get install libldap2-dev#apt-get install libpq-dev#apt-get install libradiusclient-ng-dev

Unpack, configure, compile and install nagios plugins:# tar -xzf nagios-plugins-1.4.15.tar.gz# cd nagios-plugins-1.4.15

# ./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl=/usr/bin/openssl --enable-perl-modules

# make # make install

Page 11: Centreon Deployment Chris Scicluna

Installation – NdoUtils Install mysql dev api as a prerequisite# sudo apt-get install libmysqlclient-dev

Download, unpack, configure, compile and install. Also make autorun.

# cd /usr/local/src# wget http://prdownloads.sourceforge.net/sourceforge/nagios/ndoutils-1.4b9.tar.gz# tar -xzf ndoutils-1.4b9.tar.gz# cd ndoutils-1.4b9

# ./configure --prefix=/usr/local/nagios/ --enable-mysql --disable-pgsql --with-ndo2db-user=nagios --with-ndo2db-group=nagios

# make# cp ./src/ndomod-3x.o /usr/local/nagios/bin/ndomod.o# cp ./src/ndo2db-3x /usr/local/nagios/bin/ndo2db# cp ./config/ndo2db.cfg-sample /usr/local/nagios/etc/ndo2db.cfg# cp ./config/ndomod.cfg-sample /usr/local/nagios/etc/ndomod.cfg# sudo chmod 774 /usr/local/nagios/bin/ndo*# sudo chown nagios:nagios /usr/local/nagios/bin/ndo*# cp ./daemon-init /etc/init.d/ndo2db# chmod +x /etc/init.d/ndo2db# update-rc.d ndo2db defaults

Page 12: Centreon Deployment Chris Scicluna

Installation – Centreon (Finally)

Download and unpack latest version# cd /usr/local/src/# wget http://download.centreon.com/centreon/centreon-2.1.8.tar.gz# tar -xzf centreon-2.1.8.tar.gz# cd centreon-2.1.8

Run the included installation script# export PATH="$PATH:/usr/local/nagios/bin/"# ./install.sh -i

Page 13: Centreon Deployment Chris Scicluna
Page 14: Centreon Deployment Chris Scicluna

CLI Installation Complete

Reload the apache configuration# /etc/init.d/apache2 reload

At this point, Centreon Installation is continued from the web GUI

Page 15: Centreon Deployment Chris Scicluna

GUI Installation - Centreon Browse to http://<server_name_or_IP>/centreon

Accept GNU public licence on the next screen.

Page 16: Centreon Deployment Chris Scicluna

GUI Installation - Centreon

Page 17: Centreon Deployment Chris Scicluna
Page 18: Centreon Deployment Chris Scicluna

GUI Installation - MySql

After this screen, verify database connection

Page 19: Centreon Deployment Chris Scicluna

GUI Installation – Create admin

Page 20: Centreon Deployment Chris Scicluna

GUI Installation – Config File

Page 21: Centreon Deployment Chris Scicluna

GUI Installation – MySQL db creation

Page 22: Centreon Deployment Chris Scicluna

Centreon Installation FINISHED

Page 23: Centreon Deployment Chris Scicluna

Screenshots : Monitoring

Page 24: Centreon Deployment Chris Scicluna

Screenshots : Configuration

Page 25: Centreon Deployment Chris Scicluna

Screenshots : Logging

Page 26: Centreon Deployment Chris Scicluna

Screenshots : Reporting

Page 27: Centreon Deployment Chris Scicluna

Live DemoQuestions?

Thank you for listening!