RSS site feed|Webmaster Stuff|International Calling Cards|Linux Recovery|Server Recovery|Hard Drive Recovery|Raid Recovery unique designer cufflinks
Nagios is an open source host, service and network monitoring program. It watches hosts and services that you specify, alerting you when things go bad and when they get better". This is the same tool that used to be called NetSaint until recently. Although the NetSaint site is still up, all future development will be done on Nagios. Here I try to explain the nagios installation and configuration done within 2 hours (max). Please note that you need root access to install nagios.
1)Download the tarball of nagios (Here I use nagios-1.0b5 version)
#wget http://heanet.dl.sourceforge.net/sourceforge/nagios/nagios-1.0b5.tar.gz
2)Extract the tarball
# tar zxvf nagios-1.0b5.tar.gz
3) Create a folder named nagios under /usr/local
# mkdir /usr/local/nagios
4)Create a user and group named nagios. In many of the linux flavours, a corresponding group will be created for evry user.
#useradd nagios
#groupadd nagios
5) Enter the extracted folder.
# cd nagios-1.0b5
6) Type the following script on a single line without line breaks:
# ./configure --prefix=/usr/local/nagios
--with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios
--with-nagios-grp=nagios
7)# make all
8)# make install
9)#make install-init
10)#make install-commandmode
11) If you take a look into the /usr/local/nagios directory right now, you will see that there are four directories.
bin sbin share var
12) # make install-config
copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
Sumith Sreedhar
Verbatim copying and redistribution of this entire page are permitted
provided this notice is preserved.