User Tools

Site Tools


server_monitoring

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
server_monitoring [2009/11/17 08:15] – created 172.26.0.166server_monitoring [2009/11/19 14:51] 172.26.0.166
Line 1: Line 1:
 ===== Server Monitoring ===== ===== Server Monitoring =====
   * [[#ganglia|Ganglia]] - Monitors cluster CPU, disk, network usage   * [[#ganglia|Ganglia]] - Monitors cluster CPU, disk, network usage
-  * [[#monit|Monit]] - Monitors specific +  * [[#monit|Monit]] - Monitors specific services 
-  * [[#nagios|Nagios]] - Monitors services+  * [[#nagios|Nagios]] - Monitors services services
  
 ===== Ganglia ===== ===== Ganglia =====
Line 65: Line 65:
 Accessing monit: Accessing monit:
 http://hpc.ilri.cgiar.org:2812 http://hpc.ilri.cgiar.org:2812
 +
 +===== Nagios =====
 +
 +Nagios is a powerful monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes. http://www.nagios.org/about
 +
 +=== Installation ===
 +
 +----
 +
 +Download the latest version of nagios while hot, from http://www.nagios.org/download
 +<file>$ wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.2.0.tar.gz 
 +$ cd nagios-3.2.0
 +$ ./configure
 +$ make all 
 +$ useradd nagios
 +$ make install
 +$ make install-init
 +$ make install-commandmode
 +$ make install-config
 +$ make install-webconf
 +</file>
 +=== Configuration ===
 +
 +----
 +Running the following command will create a new file called htpasswd.users in the /usr/local/nagios/etc directory. It will also create an username/password entry for nagiosadmin. You will be asked to provide a password that will be used when nagiosadmin authenticates to the web server.
 +<code>htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin </code>
 +
 +Download and install plugins 
 +<file>
 +$ wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.14.tar.gz
 +$ tar xfz nagios-plugins-1.4.14.tar.gz
 +$ cd nagios-plugins-1.4.14
 +$ ./configure && make && make install 
 +</file>
 +Edit the configuration files to add host and services to be monitored:
 +<code>vim /usr/local/nagios/etc/objects/localhost.cfg </code>
 +
 +Check remote services http://wiki.nagios.org/index.php/Howtos:checkbyssh_RedHat
 +=== Accessing Nagios ===
 +
 +----
 +http://172.26.0.205:4020/nagios/
 +
 +with  username = "nagiosadmin" and password = "nagios"
 +
 +