Nagios3 Centreon2 Ubuntu nagios
From Wiki Centreon
The Nagios installation consists of creating the user "nagios" with a password, compiling the sources, copying of files and final adjustmensts.
Contents |
creating the user nagios
# /usr/sbin/useradd -m nagios # passwd nagios
creating a group to be able to use external commands
# /usr/sbin/groupadd nagcmd # /usr/sbin/usermod -G nagios,nagcmd nagios
creating a group on Fedora
$> /usr/sbin/usermod -G nagios,nagcmd apache
creating a group on Debian
$> /usr/sbin/usermod -G nagios,nagcmd www-data
creating a group on OpenSuse
$> /usr/sbin/usermod -G nagios,nagcmd www
download and compile
Although nagios is updated frequently the installation doesn't change. You will find the latest version on the official Nagios website http://www.nagios.org/download/
# cd /usr/local/src/ # wget http://switch.dl.sourceforge.net/sourceforge/nagios/nagios-3.0.3.tar.gz
Unpack the archive and change the directory:
# tar -xzf nagios-3.0.3.tar.gz # cd nagios-3.0.3
configuration and installation:
# ./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
Nagios is installed so we can continue with the installation of the plugins.

