
cd /usr/local/src
tar -zxf nagios-3.4.1.tar.gz
useradd -m nagios
./configure --prefix=/usr/local/nagios --with-command-group=nagcmd --enable-nanosleep --enable-event-broker
./configure --prefix=/usr/local/nagios/ --enable-mysql --disable-pgsql --with-ndo2db-user=nagios --with-ndo2db-group=nagios
cp ./src/ndomod-3x.o /usr/local/nagios/bin/ndomod.o
chown nagios:nagios /usr/local/nagios/etc/ndo*
cd /usr/local/src
./install.sh -iThe output for this is a lot, but install the Web Front, CentCore, Nagios Plugins & SNMP traps process. All the default values should be fine, and if it asks to create a folder say "y" (yes). To finish the install of the Centreon web UI go to http://