{"id":281,"date":"2013-03-02T19:27:27","date_gmt":"2013-03-02T18:27:27","guid":{"rendered":"http:\/\/blog.rabahi.net\/?page_id=281"},"modified":"2016-10-15T18:13:03","modified_gmt":"2016-10-15T16:13:03","slug":"centreon","status":"publish","type":"page","link":"https:\/\/blog.rabahi.net\/?page_id=281","title":{"rendered":"Centreon"},"content":{"rendered":"<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">Contents<\/p><ul class=\"toc_list\"><li><a href=\"#Prerequisites\"><span class=\"toc_number toc_depth_1\">1<\/span> Prerequisites<\/a><\/li><li><a href=\"#Installation\"><span class=\"toc_number toc_depth_1\">2<\/span> Installation<\/a><ul><li><a href=\"#build_and_configure_all_modules\"><span class=\"toc_number toc_depth_2\">2.1<\/span> build and configure all modules<\/a><\/li><li><a href=\"#reponse_file\"><span class=\"toc_number toc_depth_2\">2.2<\/span> reponse file<\/a><\/li><li><a href=\"#configure_web_part\"><span class=\"toc_number toc_depth_2\">2.3<\/span> configure web part<\/a><\/li><\/ul><\/li><li><a href=\"#Troubleshooting\"><span class=\"toc_number toc_depth_1\">3<\/span> Troubleshooting<\/a><ul><li><a href=\"#sudo_no_tty_present_and_no_askpass_program_specified\"><span class=\"toc_number toc_depth_2\">3.1<\/span> sudo no tty present and no askpass program specified<\/a><\/li><\/ul><\/li><\/ul><\/div>\n<h1><span id=\"Prerequisites\">Prerequisites<\/span><\/h1>\n<p>I assume that you have a Centos installation<\/p>\n<h1><span id=\"Installation\">Installation<\/span><\/h1>\n<h2><span id=\"build_and_configure_all_modules\">build and configure all modules<\/span><\/h2>\n<p>You can copy\/paste this script and use it to configure automatically your server.<\/p>\n<pre class=\"bash\" style=\"font-family:monospace;\"><ol><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #666666; font-style: italic;\">#!\/bin\/bash<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #666666; font-style: italic;\">##################################################<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #666666; font-style: italic;\">#               DEFINES<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #666666; font-style: italic;\">##################################################<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #666666; font-style: italic;\"># all version are available here : https:\/\/download.centreon.com\/<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #666666; font-style: italic;\"># tab &quot;Centreon Core&quot;<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #007800;\">CENTREON_ENGINE_VERSION<\/span>=1.5.1<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #007800;\">CENTREON_BROKER_VERSION<\/span>=2.11.5<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #007800;\">CENTREON_CONNECTOR_VERSION<\/span>=1.1.2<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #007800;\">CENTREON_CLIB_VERSION<\/span>=1.4.2<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #666666; font-style: italic;\"># tab &quot;Centreon Web&quot;<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #007800;\">CENTREON_WEB_VERSION<\/span>=2.7.7<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #666666; font-style: italic;\"># current directory<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #007800;\">BASEDIR<\/span>=<span style=\"color: #ff0000;\">&quot;<span style=\"color: #007800;\">$( cd &quot;$( dirname &quot;${BASH_SOURCE[0]}&quot; )<\/span>&quot;<\/span> <span style=\"color: #000000; font-weight: bold;\">&amp;&amp;<\/span> <span style=\"color: #7a0874; font-weight: bold;\">pwd<\/span> <span style=\"color: #7a0874; font-weight: bold;\">&#41;<\/span><span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">##################################################<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">#               PREREQUISTES<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">##################################################<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\"># cmake, gcc<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">dnf -y install cmake make gcc gcc-c++<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\"># qt<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">dnf -y install qt qt-devel<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\"># librrd<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">dnf -y install rrdtool rrdtool-devel<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\"># gnutls<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">dnf -y install gnutls-devel<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\"># perl<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">dnf -y install perl-devel perl-ExtUtils-Embed<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\"># mail<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">dnf -y install mailx<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\"># php<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">dnf -y install php php-pear php-ldap php-intl<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\"># snmp<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">dnf -y install net-snmp<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">echo &quot;<\/span>create <span style=\"color: #c20cb9; font-weight: bold;\">users<\/span> abd <span style=\"color: #c20cb9; font-weight: bold;\">groups<\/span><span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">groupadd centreon<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">useradd -g centreon centreon<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">useradd -g centreon centreon-engine<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">useradd -g centreon centreon-broker<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">##################################################<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">#               CENTREON BROKER<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">##################################################<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">echo &quot;<\/span>create required folders<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">mkdir -p \/var\/log\/centreon-broker<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">mkdir -p \/etc\/centreon-broker<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">chown centreon-broker: \/var\/log\/centreon-broker\/ -R<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">chown centreon-broker: \/etc\/centreon-broker\/ -R<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">chmod 775 \/var\/log\/centreon-broker\/ -R<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">chmod 775 \/etc\/centreon-broker\/ -R<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">echo &quot;<\/span>download and build centreon broker<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">cd \/tmp<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">wget https:\/\/s3-eu-west-1.amazonaws.com\/centreon-download\/public\/centreon-broker\/centreon-broker-<span style=\"color: #007800;\">$CENTREON_BROKER_VERSION<\/span>.tar.gz<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">tar -xvf centreon-broker-<span style=\"color: #007800;\">$CENTREON_BROKER_VERSION<\/span>.tar.gz<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">rm -f centreon-broker-<span style=\"color: #007800;\">$CENTREON_BROKER_VERSION<\/span>.tar.gz<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">cd centreon-broker-<span style=\"color: #007800;\">$CENTREON_BROKER_VERSION<\/span>\/build<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">cmake                                                           <span style=\"color: #000099; font-weight: bold;\">\\<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">  -DWITH_STARTUP_DIR=\/etc\/init.d                                <span style=\"color: #000099; font-weight: bold;\">\\<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">  -DWITH_PREFIX_CONF=\/etc\/centreon-broker                       <span style=\"color: #000099; font-weight: bold;\">\\<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">  -DWITH_PREFIX_LIB=\/usr\/lib64\/nagios                           <span style=\"color: #000099; font-weight: bold;\">\\<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">  -DWITH_PREFIX_MODULES=\/usr\/share\/centreon\/lib\/centreon-broker <span style=\"color: #000099; font-weight: bold;\">\\<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">  .<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">make<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">make install<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\"># hack under centos 7 (&quot;<\/span><span style=\"color: #c20cb9; font-weight: bold;\">make<\/span> <span style=\"color: #c20cb9; font-weight: bold;\">install<\/span><span style=\"color: #ff0000;\">&quot; does not create &quot;<\/span>cdb<span style=\"color: #ff0000;\">&quot; service)<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">if [ ! -f \/etc\/init.d\/cdb ]; then<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">    cp <span style=\"color: #007800;\">$BASEDIR<\/span>\/cdb \/etc\/init.d<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">\tchmod +x \/etc\/init.d\/cdb<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">fi<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">##################################################<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">#               CENTREON CONNECTOR<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">##################################################<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">echo &quot;<\/span>download and build centreon connector<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">cd \/tmp<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">wget https:\/\/s3-eu-west-1.amazonaws.com\/centreon-download\/public\/centreon-connectors\/centreon-connector-<span style=\"color: #007800;\">$CENTREON_CONNECTOR_VERSION<\/span>.tar.gz<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">tar -xvf centreon-connector-<span style=\"color: #007800;\">$CENTREON_CONNECTOR_VERSION<\/span>.tar.gz<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">rm -f centreon-connector-<span style=\"color: #007800;\">$CENTREON_CONNECTOR_VERSION<\/span>.tar.gz<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">cd centreon-connector-<span style=\"color: #007800;\">$CENTREON_CONNECTOR_VERSION<\/span>\/perl\/build<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">cmake                                                    <span style=\"color: #000099; font-weight: bold;\">\\<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">      -DWITH_PREFIX_BINARY=\/usr\/lib64\/centreon-connector <span style=\"color: #000099; font-weight: bold;\">\\<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">\t  .<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">make -j 4<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">make install<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">##################################################<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">#               CENTREON CLIB<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">##################################################<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">echo &quot;<\/span>download and build centreon clib<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">cd \/tmp<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">wget https:\/\/s3-eu-west-1.amazonaws.com\/centreon-download\/public\/centreon-clib\/centreon-clib-<span style=\"color: #007800;\">$CENTREON_CLIB_VERSION<\/span>.tar.gz<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">tar -xvf centreon-clib-<span style=\"color: #007800;\">$CENTREON_CLIB_VERSION<\/span>.tar.gz<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">rm -f centreon-clib-<span style=\"color: #007800;\">$CENTREON_CLIB_VERSION<\/span>.tar.gz<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">cd centreon-clib-<span style=\"color: #007800;\">$CENTREON_CLIB_VERSION<\/span>\/build<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">cmake .<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">make<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">make install<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">ln -s \/usr\/local\/lib\/libcentreon_clib.so \/lib64\/libcentreon_clib.so<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">##################################################<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">#               CENTREON ENGINE<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">##################################################<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">echo &quot;<\/span>create required folders<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">mkdir -p \/var\/log\/centreon-engine<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">mkdir -p \/etc\/centreon-engine<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">chown centreon-engine: \/var\/log\/centreon-engine\/ -R<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">chown centreon-engine: \/etc\/centreon-engine\/ -R<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">chmod 775 \/var\/log\/centreon-engine\/ -R<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">chmod 775 \/etc\/centreon-engine\/ -R<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">echo &quot;<\/span>download and build centreon engine<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">cd \/tmp<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">wget https:\/\/s3-eu-west-1.amazonaws.com\/centreon-download\/public\/centreon-engine\/centreon-engine-<span style=\"color: #007800;\">$CENTREON_ENGINE_VERSION<\/span>.tar.gz<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">tar -xvf centreon-engine-<span style=\"color: #007800;\">$CENTREON_ENGINE_VERSION<\/span>.tar.gz<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">rm -f centreon-engine-<span style=\"color: #007800;\">$CENTREON_ENGINE_VERSION<\/span>.tar.gz<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">cd centreon-engine-<span style=\"color: #007800;\">$CENTREON_ENGINE_VERSION<\/span>\/build<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">cmake                                             <span style=\"color: #000099; font-weight: bold;\">\\<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">     -DWITH_PREFIX_BIN=\/usr\/sbin                  <span style=\"color: #000099; font-weight: bold;\">\\<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">\t -DWITH_RW_DIR=\/var\/lib64\/centreon-engine\/rw  <span style=\"color: #000099; font-weight: bold;\">\\<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">\t -DWITH_PREFIX_LIB=\/usr\/lib64\/centreon-engine <span style=\"color: #000099; font-weight: bold;\">\\<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">\t .<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">make<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">make install<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">##################################################<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">#               CENTREON WEB<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">##################################################<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">cd \/tmp<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">wget https:\/\/s3-eu-west-1.amazonaws.com\/centreon-download\/public\/centreon\/centreon-web-<span style=\"color: #007800;\">$CENTREON_WEB_VERSION<\/span>.tar.gz<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">tar -xvf centreon-web-<span style=\"color: #007800;\">$CENTREON_WEB_VERSION<\/span>.tar.gz<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">rm -f centreon\/centreon-web-<span style=\"color: #007800;\">$CENTREON_WEB_VERSION<\/span>.tar.gz<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">cd  centreon-web-<span style=\"color: #007800;\">$CENTREON_WEB_VERSION<\/span><\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\"># install centreon web :<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">dos2unix <span style=\"color: #007800;\">$BASEDIR<\/span>\/centreon-response.txt<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">.\/install.sh -f <span style=\"color: #007800;\">$BASEDIR<\/span>\/centreon-response.txt<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">##################################################<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">#  POST INSTALLATION CONFIGURATION<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">##################################################<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">echo &quot;<\/span>configure apache <span style=\"color: #000000; font-weight: bold;\">for<\/span> apache <span style=\"color: #000000;\">2.4<\/span><span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">cat &gt; \/etc\/httpd\/conf.d\/centreon.conf &lt;&lt; &quot;<\/span>EOF<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">Alias \/centreon \/usr\/local\/centreon\/www\/<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">&lt;Directory &quot;<\/span><span style=\"color: #000000; font-weight: bold;\">\/<\/span>usr<span style=\"color: #000000; font-weight: bold;\">\/<\/span>local<span style=\"color: #000000; font-weight: bold;\">\/<\/span>centreon<span style=\"color: #000000; font-weight: bold;\">\/<\/span>www<span style=\"color: #ff0000;\">&quot;&gt;<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">    Options Indexes<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">    AllowOverride AuthConfig Options<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">    Require all granted<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">&lt;\/Directory&gt;<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">EOF<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">echo &quot;<\/span>configure default timezone <span style=\"color: #000000; font-weight: bold;\">in<\/span> php.ini<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">sed -i &quot;<\/span>s<span style=\"color: #000000; font-weight: bold;\">\/<\/span>^;\\<span style=\"color: #7a0874; font-weight: bold;\">&#40;<\/span>date.timezone =\\<span style=\"color: #7a0874; font-weight: bold;\">&#41;<\/span>.<span style=\"color: #000000; font-weight: bold;\">*\/<\/span>\\1Europe\\<span style=\"color: #000000; font-weight: bold;\">\/<\/span>Paris<span style=\"color: #000000; font-weight: bold;\">\/<\/span>g<span style=\"color: #ff0000;\">&quot; \/etc\/php.ini<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">echo &quot;<\/span><span style=\"color: #7a0874; font-weight: bold;\">enable<\/span> <span style=\"color: #c20cb9; font-weight: bold;\">write<\/span> to SmartyCache directory<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">chown centreon: \/usr\/local\/centreon\/GPL_LIB\/SmartyCache\/ -R<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">echo &quot;<\/span>restart httpd<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">systemctl restart httpd<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">echo &quot;<\/span>add option <span style=\"color: #ff0000;\">'innodb_file_per_table=1'<\/span> to <span style=\"color: #000000; font-weight: bold;\">\/<\/span>etc<span style=\"color: #000000; font-weight: bold;\">\/<\/span>my.cnf<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">if ! grep -q innodb_file_per_table=1 \/etc\/my.cnf; then<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">  sed -i 's\/\\(\\[mysqld\\]\\)\/\\1<span style=\"color: #000099; font-weight: bold;\">\\n<\/span>innodb_file_per_table=1\/' \/etc\/my.cnf<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">  systemctl restart mariadb.service<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">fi;<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">echo &quot;<\/span>create databases and grant amm privileges to user<span style=\"color: #000000; font-weight: bold;\">\/<\/span>password centreon<span style=\"color: #000000; font-weight: bold;\">\/<\/span>centreon<span style=\"color: #ff0000;\">&quot;:<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">mysql --user=root --password=root -e &quot;<\/span>CREATE USER <span style=\"color: #ff0000;\">'centreon'<\/span><span style=\"color: #000000; font-weight: bold;\">@<\/span><span style=\"color: #ff0000;\">'localhost'<\/span> IDENTIFIED BY <span style=\"color: #ff0000;\">'centreon'<\/span>;<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">mysql --user=root --password=root -e &quot;<\/span>CREATE DATABASE IF NOT EXISTS centreon;<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">mysql --user=root --password=root -e &quot;<\/span>use centreon; GRANT ALL PRIVILEGES ON centreon.<span style=\"color: #000000; font-weight: bold;\">*<\/span> TO <span style=\"color: #ff0000;\">'centreon'<\/span><span style=\"color: #000000; font-weight: bold;\">@<\/span><span style=\"color: #ff0000;\">'localhost'<\/span> WITH GRANT OPTION;<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">mysql --user=root --password=root -e &quot;<\/span>CREATE DATABASE IF NOT EXISTS centreon_status;<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">mysql --user=root --password=root -e &quot;<\/span>use centreon_status; GRANT ALL PRIVILEGES ON centreon_status.<span style=\"color: #000000; font-weight: bold;\">*<\/span> TO <span style=\"color: #ff0000;\">'centreon'<\/span><span style=\"color: #000000; font-weight: bold;\">@<\/span><span style=\"color: #ff0000;\">'localhost'<\/span> WITH GRANT OPTION;<span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">## meet you<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">myip=<span style=\"color: #780078;\">`hostname -I`<\/span><\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #ff0000;\">echo &quot;<\/span>Now meet you here: http:<span style=\"color: #000000; font-weight: bold;\">\/\/<\/span><span style=\"color: #007800;\">$myip<\/span><span style=\"color: #000000; font-weight: bold;\">\/<\/span>centreon<span style=\"color: #000000; font-weight: bold;\">\/<\/span><span style=\"color: #ff0000;\">&quot;<\/span><\/div><\/li><\/ol><\/pre>\n<h2><span id=\"reponse_file\">reponse file<\/span><\/h2>\n<pre class=\"ini\" style=\"font-family:monospace;\"><ol><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">#########################################################################<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">#             Please choose what you want to install<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">#########################################################################<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># Do you want to install : Centreon Web Front<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">PROCESS_CENTREON_WWW<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">1<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">#Do you want to install : Centreon CentCore<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">PROCESS_CENTCORE<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">1<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">#Do you want to install : Centreon Nagios Plugins<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">PROCESS_CENTREON_PLUGINS<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">1<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">#Do you want to install : CentreonTrapd process<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">PROCESS_CENTREON_SNMP_TRAPS<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">1<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># CentStorage ?<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">PROCESS_CENTSTORAGE<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">1<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">#               Start CentWeb Installation<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># Where is mail binary<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">BIN_MAIL<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/usr\/bin\/mail<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">################# INSTALLATION PATHS<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># Where is your Centreon directory?<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">INSTALL_DIR_CENTREON<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/usr\/local\/centreon<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># Where is your Centreon log directory<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTREON_LOG<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/var\/log\/centreon<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># Where is your Centreon etc directory<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTREON_ETC<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/etc\/centreon<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># Where is your Centreon binaries directory<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTREON_BINDIR<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/usr\/local\/centreon\/bin<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># Where is your Centreon data information directory<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTREON_DATADIR<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/usr\/local\/centreon\/data<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># Where is your Centreon generation_files directory<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTREON_GENDIR<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/usr\/local\/centreon<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># Where is your Centreon variable library directory<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTREON_VARLIB<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/var\/lib\/centreon\t<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># Where is your CentPlugins Traps binary<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTPLUGINSTRAPS_BINDIR<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/usr\/local\/centreon\/bin<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">################# RRDs.pm<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># Where is the RRD perl module installed <span style=\"color: #000066; font-weight:bold;\"><span style=\"\">[<\/span>RRDs.pm<span style=\"\">]<\/span><\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">RRD_PERL<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">`locate RRDs.pm`<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># Where is PEAR <span style=\"color: #000066; font-weight:bold;\"><span style=\"\">[<\/span>PEAR.php<span style=\"\">]<\/span><\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">PEAR_PATH<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/usr\/share\/pear<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">################# User and group centreon<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># What is the Centreon group ? <span style=\"color: #000066; font-weight:bold;\"><span style=\"\">[<\/span>centreon<span style=\"\">]<\/span><\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTREON_GROUP<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">centreon<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># What is the Centreon user ? <span style=\"color: #000066; font-weight:bold;\"><span style=\"\">[<\/span>centreon<span style=\"\">]<\/span><\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTREON_USER<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">centreon<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">################# Montoring user<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># What is the Monitoring engine user ?<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">MONITORINGENGINE_USER<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">centreon-engine<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># What is the Broker user ? <span style=\"\">&#40;<\/span>optional<span style=\"\">&#41;<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">BROKER_USER<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">centreon-broker<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">################# Event log dir<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># What is the Monitoring engine log directory ?<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">MONITORINGENGINE_LOG<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/var\/log\/centreon-engine<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">################# Plugin folders<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># Where is your monitoring plugins <span style=\"\">&#40;<\/span>libexec<span style=\"\">&#41;<\/span> directory ?<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">PLUGIN_DIR<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/usr\/lib64\/nagios\/plugins<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">#               Configure Sudo<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># Where is sudo configuration file<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">SUDO_FILE<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/etc\/sudoers<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># What is the Monitoring engine init.d script ?<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">MONITORINGENGINE_INIT_SCRIPT<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/etc\/init.d\/centengine<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># What is the Monitoring engine binary ?<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">MONITORINGENGINE_BINARY<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/usr\/local\/bin\/centengine<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># What is the Monitoring engine configuration directory ?<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">MONITORINGENGINE_ETC<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/etc\/centreon-engine<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># Where is the configuration directory for broker module ?<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">BROKER_ETC<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/etc\/centreon-broker<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># Where is the init script for broker module daemon ?<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">BROKER_INIT_SCRIPT<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/etc\/init.d\/cbd<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># Do you want me to configure your sudo ? <span style=\"\">&#40;<\/span>WARNING<span style=\"\">&#41;<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">FORCE_SUDO_CONF<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">1<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">#               Configure Apache server<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># Do you want to reload your Apache ?<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">APACHE_RELOAD<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">1<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">#               Pear Modules<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># Do you want me to install\/upgrade your PEAR modules<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">PEAR_AUTOINST<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">1<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">#               Start CentStorage Installation<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># Where is your Centreon Run Dir directory?<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTREON_RUNDIR<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/var\/run\/centreon<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># Where is your CentStorage binary directory<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTSTORAGE_BINDIR<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/usr\/local\/centreon\/bin<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># Where is your CentStorage RRD directory<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTSTORAGE_RRD<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/var\/lib\/centreon<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">#               Start CentCore Installation<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># Where is your CentCore binary directory<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTCORE_BINDIR<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/usr\/local\/centreon\/bin<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># Do you want me to install CentCore init script ?<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTCORE_INSTALL_INIT<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">1<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># Do you want me to install CentCore run level<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTCORE_INSTALL_RUNLVL<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">1<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">#               Start CentPlugins Installation<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># Where is your CentPlugins lib directory<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTPLUGINS_TMP<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/var\/lib\/centreon\/centplugins<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">#               Start CentPlugins Traps Installation<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">########################################################################<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># Where is your SNMP configuration directory<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">SNMP_ETC<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/etc\/snmp<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># Where is your CentreonTrapd binaries directory<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTREONTRAPD_BINDIR<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">\/usr\/local\/centreon\/bin<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"># Do you want me to install CentreonTrapd init script ?<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTREONTRAPD_INSTALL_INIT<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">1<\/span><\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\"># Do you want me to install CentreonTrapd run level ?<\/div><\/li><li style=\"background: #fcfcfc;\"><div style=\"font-size: 12px;\"><span style=\"color: #000099;\">CENTPLUGINSTRAPS_INSTALL_RUNLVL<\/span><span style=\"color: #000066; font-weight:bold;\">=<\/span><span style=\"color: #660066;\">1<\/span><\/div><\/li><li style=\"background: #f0f0f0;\"><div style=\"font-size: 12px;\">&nbsp;<\/div><\/li><\/ol><\/pre>\n<h2><span id=\"configure_web_part\">configure web part<\/span><\/h2>\n<ul>\n<li>Open your favorite browser<\/li>\n<li>Go to this url : http:\/\/localhost\/centreon<\/li>\n<\/ul>\n<p>Step 3, answer like this :<\/p>\n<table class=\"table table-condensed\">\n<tr>\n<th>title<\/th>\n<th>value<\/th>\n<th>comments<\/th>\n<\/tr>\n<tr>\n<td>Centreon Engine directory<\/td>\n<td>\/usr\/sbin<\/td>\n<td>because we used in cmake -DWITH_PREFIX_BIN=\/usr\/sbin<\/td>\n<\/tr>\n<tr>\n<td>Centreon Engine Stats binary<\/td>\n<td>\/usr\/sbin\/centenginestats<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Centreon Engine var lib directory<\/td>\n<td>\/var\/lib64\/centreon-engine<\/td>\n<td>because we used in cmake -DWITH_RW_DIR=\/var\/lib64\/centreon-engine\/rw<\/td>\n<\/tr>\n<tr>\n<td>Centreon Engine Connector path<\/td>\n<td>\/usr\/lib64\/centreon-connector<\/td>\n<td>because we used in cmake -DWITH_PREFIX_BINARY=\/usr\/lib64\/centreon-connector<\/td>\n<\/tr>\n<tr>\n<td>Centreon Engine Library (*.so) directory<\/td>\n<td>\/usr\/lib\/centreon-engine<\/td>\n<td>because we used in cmake -DWITH_PREFIX_LIB=\/usr\/lib64\/centreon-engine<\/td>\n<\/tr>\n<\/table>\n<p>Step4, answer like this :<\/p>\n<table class=\"table table-condensed\">\n<tr>\n<th>title<\/th>\n<th>value<\/th>\n<th>comments<\/th>\n<\/tr>\n<tr>\n<td>Centreon Broker etc directory<\/td>\n<td>\/etc\/centreon-broker<\/td>\n<td>because we used in cmake -DWITH_PREFIX_CONF=\/etc\/centreon-broker<\/td>\n<\/tr>\n<tr>\n<td>Centreon Broker module (cbmod.so)<\/td>\n<td>\/usr\/lib64\/nagios\/cbmod.so<\/td>\n<td>because we used in cmake -DWITH_PREFIX_LIB=\/usr\/lib64\/nagios<\/td>\n<\/tr>\n<tr>\n<td>Centreon Broker log directory<\/td>\n<td>\/var\/log\/centreon-broker<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Retention file directory<\/td>\n<td>\/var\/lib64\/centreon-broker<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Centreon Broker lib (*.so) directory<\/td>\n<td>\/usr\/share\/centreon\/lib\/centreon-broker<\/td>\n<td>because we used in cmake -DWITH_PREFIX_MODULES=\/usr\/share\/centreon\/lib\/centreon-broker<\/td>\n<\/tr>\n<\/table>\n<p>That&#8217;s all \ud83d\ude42<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.rabahi.net\/wp-content\/uploads\/2013\/03\/Administration-\u2013-Centreon.png\" alt=\"Administration \u2013 Centreon\" width=\"860\" height=\"518\" class=\"alignnone size-full wp-image-340\" \/><\/p>\n<h1><span id=\"Troubleshooting\">Troubleshooting<\/span><\/h1>\n<h2><span id=\"sudo_no_tty_present_and_no_askpass_program_specified\">sudo no tty present and no askpass program specified<\/span><\/h2>\n<pre lang=\"bash\">\r\n  chmod 755 \/etc\/sudoers\r\n  echo CENTREON ALL = NOPASSWD: ALL >> \/etc\/sudoers\r\n  chmod 0440 \/etc\/sudoers\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Contents1 Prerequisites2 Installation2.1 build and configure all modules2.2 reponse file2.3 configure web part3 Troubleshooting3.1 sudo no tty present and no askpass program specified Prerequisites I assume that you have a Centos installation Installation build and configure all modules You can copy\/paste this script and use it to configure automatically your server. reponse file configure web [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":271,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-281","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blog.rabahi.net\/index.php?rest_route=\/wp\/v2\/pages\/281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.rabahi.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blog.rabahi.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blog.rabahi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.rabahi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=281"}],"version-history":[{"count":41,"href":"https:\/\/blog.rabahi.net\/index.php?rest_route=\/wp\/v2\/pages\/281\/revisions"}],"predecessor-version":[{"id":1763,"href":"https:\/\/blog.rabahi.net\/index.php?rest_route=\/wp\/v2\/pages\/281\/revisions\/1763"}],"up":[{"embeddable":true,"href":"https:\/\/blog.rabahi.net\/index.php?rest_route=\/wp\/v2\/pages\/271"}],"wp:attachment":[{"href":"https:\/\/blog.rabahi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}