Database Reference
In-Depth Information
$ sudo -i
$ useradd -m nagios
$ passwd nagios
$ groupadd nagcmd
$ usermod -a -G nagcmd nagios
$ usermod -a -G nagcmd apache
Installation
Nagios installation can be divided into four parts: installing Nagios, configuring Apache
httpd, installing plugins, and setting up Nagios as a service.
Installing Nagios
The following are the steps to install Nagios from tarball:
1. Download tarball from the Nagios download page and untar it:
$ wget http://prdownloads.sourceforge.net/sourceforge/
nagios/nagios-3.5.0.tar.gz
$ tar xzf nagios-3.5.0.tar.gz
2. Install Nagios from the source:
$ cd nagios
$ ./configure -with-command-group=nagcmd
$ make all
$ sudo make install \
install-base \
install-cgis \
install-html \
install-exfoliation \
install-config \
install-init \
install-commandmode \
fullinstall
3. Nagios is installed now. Update the contact details before you move to the next
step:
$ sudo vi /usr/local/nagios/etc/objects/contacts.cfg
define contact{
Search WWH ::




Custom Search