Download presentation
1
Centreon Deployment Chris Scicluna
2
2.2. Centreon Installation
Contents 1. What is Centreon? 2. Installation 2.1. Nagios Installation 2.2. Centreon Installation 3. Screenshots: Monitoring, Configuration and more 4. Demo
3
What is Centreon? Monitors servers, switches, services, etc through SNMP
4
What is Centreon? Distributed, scalable monitoring.
5
What is Centreon? Includes real time front end management
GUI management Nagios Config File
6
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
7
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
8
Installation – Prerequisites
MySql will require password and confirmation Postfix configuration – Select no configuration 5
9
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 # tar -xzf nagios 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
10
Installation – Nagios Plugins
Download the latest edition of nagios plugins # cd /usr/local/src # wget 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 tar.gz # cd nagios-plugins # ./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl=/usr/bin/openssl --enable-perl-modules # make # make install
11
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 # 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
12
Installation – Centreon (Finally)
Download and unpack latest version # cd /usr/local/src/ # wget # tar -xzf centreon tar.gz # cd centreon-2.1.8 Run the included installation script # export PATH="$PATH:/usr/local/nagios/bin/" # ./install.sh -i
14
CLI Installation Complete
Reload the apache configuration # /etc/init.d/apache2 reload At this point, Centreon Installation is continued from the web GUI
15
GUI Installation - Centreon
Browse to Accept GNU public licence on the next screen.
16
GUI Installation - Centreon
18
GUI Installation - MySql
After this screen, verify database connection
19
GUI Installation – Create admin
20
GUI Installation – Config File
21
GUI Installation – MySQL db creation
22
Centreon Installation FINISHED
23
Screenshots : Monitoring
24
Screenshots : Configuration
25
Screenshots : Logging
26
Screenshots : Reporting
27
Thank you for listening!
Live Demo Questions? Thank you for listening!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.