MyWackoSite: nagios

https://wiki.ebal.gr     Version: 1 (09/20/2013 22:27)

nagios


Hits : 4,193

Nagios :: Mini How To 


Nagios is an Open Source host, service and network monitoring program.


Nagios Installation


Below are simple steps to install nagios to our system.

Users / Groups


We must create a new user / group for nagios software.

BASH
# useradd nagios


Verify



Next we must create a new group for nagios and apache user



The apache user can be defined by this:



top

Nagios Installation


We should create the installation path and transfer the ownership tou user nagios



Downloading the sources



Configure & compile nagios



If we want to use the sample confs from the nagios installation we should do this:



top

Nagios-plugins


After we finished the nagios installation we should continue with the installation of nagios-plugin.
So we download the sources from below:



And we build nagios plugin :




top

Start Nagios


We can start nagios application by doing this :



top

Apache Virtual Host


if we want to setup apache, we simply add the below virtual host:



And add at the apache conf httpd.conf file the below conf line:



top

Adding users to nagios web host




top

Basic Configuration


Change configuration for nagios group to access / view the hosts



top





Verify Configuration



top

fruity


http://fruity.sourceforge.net/

Groundwork Fruity is a PHP based web-frontend to your Nagios configuration

$ wget -c http://belnet.dl.sourceforge.net/sourceforge/fruity/fruity-1.0-rc2.tar.gz
$ tar zxvf fruity-1.0-rc2.tar.gz
$ cd fruity-1.0-rc2		

top