Jan 192008
 

Step 1 of installing Centreon Network Monitoring system covers the installation of Pre-Requisites. Centreon Network Monitoring system has a pre-requisites that needs to be included before we actually start installing the centreon binaries.

The following are the list of pre-requisites for Centreon

gcc & make  

Sudo  

Nagios 1.x / 2.x  

Nagios-plugins 1.3.x / 1.4.x  

Apache 2.x  

MySQL 3.x / 4.x / 5.x  

PHP 4.x / 5.x  

GD, GD-devel, libgd2,libpng, libpng-devel  

RRDTool 1.2  

Net-SNMP
PHP modules php-mysql php-pear php-snmp php-posix
Perl Modules
perl-config-IniFiles perl-Crypt-DES perl-Digest-HMAC perl-Digest-SHA1
perl-GD perl-IO-Socket-INET6 perl-Net-SNMP perl-rrdtool perl-Socket6
Pear Packages
Auth_SASL Date DB DB_DataObject DB_DataObject_FormBuilder HTML_Common
HTML_QuickForm HTML_QuickForm_advmultiselect HTML_Table Image_Canvas
Image_Color Image_Graph Image_GraphViz Mail_Mime MDB2 Net_Ping Net_Traceroute  

Numbers_Roman Numbers_Words PEAR Validate XML_RPC

So lets get started

Install GNU Compiler Collection

debian4r2:~# aptitude install gcc

Install Make package

debian4r2:~# aptitude install make

Install Sudo

debian4r2:~# aptitude install sudo

Install Apache 2 Webserver

debian4r2:~# aptitude install apache2

Install MySQL Database Server

debian4r2:~# aptitude install mysql-server

Install PHP 5

debian4r2:~# aptitude install php5

Install PHP5 modules

debian4r2:~# aptitude install php5-mysql php5-pear php5-snmp php5-posix php5-gd

Install RRD Tool

debian4r2:~# aptitude install rrdtool

Install Net-SNMP

debian4r2:~# aptitude install snmp snmpd libnetsnmp-perl

Install NMap

debian4r2:~# aptitude install nmap

Install Perl Modules

debian4r2:~# aptitude install libgd-gd2-perl libnet-snmp-perl librrds-perl

Install PEAR packages

debian4r2:~# pear install -o -f –alldeps DB DB_DataObject DB_DataObject_FormBuilder MDB2 Date Numbers_Roman Numbers_Words HTML_Common HTML_QuickForm HTML_QuickForm_advmultiselect HTML_Table Auth_SASL HTTP Image_Canvas Image_Color Image_Graph Image_GraphViz Mail Mail_Mime Net_SMTP Net_Socket Net_Traceroute Net_Ping Validate XML_RPC SOAP Mail_Mime-1.3.1 HTML_Table-1.6.1 Numbers_Roman-1.0.1

That installs all the pre-requisites for Centreon network monitoring system to run properly on Debian.

Follow the procedures below to

Step 2. Install and Configure Nagios 2.x on Debian 4.0 with Apache2

Step 3. Install Centreon binaries

Step 4. Configure Setup Parameters & Database

  5 Responses to “Install pre-requisites for Centreon Network Monitoring in Debian”

  1. >Install PHP5 modules
    >
    >debian4r2:~# aptitude install php5-mysql php5-pear php5-snmp php5-posix php5-gd

    This is not php5-pear, it’s php-pear,
    Regards.

  2. In the prerequites you forgot to mention php5-ldap, it leads to a minor warning during the Centreon PHP Extension component installation.

    Regards.

  3. I want install centreon on Debian etch 4.0r3 but it don’t find package php5-posix and libnetsnmp-perl.

    My apt source list are :

    deb file:/miroir/mirror/ftp.fr.debian.org/debian/ etch main
    deb-src file:/miroir/mirror/ftp.fr.debian.org/debian/ etch main

    deb file:/miroir/mirror/security.debian.org/ etch/updates main contrib
    deb-src file:/miroir/mirror/security.debian.org/ etch/updates main contrib

    Why I don’t find there ?

    Sorry for my bad english

  4. Salut à tous,

    le paquet libnetsnmp-perl n’existe pas en fait il ya une faute, c’est le paquet libnet-snmp-perl.
    Mais normalement si vous avez suivi la procédure ce dernier est déjà installé. Pour ce qui est de php5-posix, celui ci n’exite pas dans les depot debian de base.

    @+

  5. Bonjour,

    La commande pour installer pear ne marche pas.
    Je ne comprend pas trop cette commande, pouvez vous m aider ?

    Et concernant php5-posix, je ne trouve pas ce module pour debian, pouvez vous m orienter ?

    Merci d’avance

    David

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)