This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
server_monitoring [2010/06/16 09:33] 172.26.0.166 |
server_monitoring [2010/10/19 17:18] (current) aorth |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Server Monitoring ===== | ===== Server Monitoring ===== | ||
| - | * [[#ganglia|Ganglia]] - Monitors cluster CPU, disk, network usage | + | * [[server_monitoring: |
| - | * [[#monit|Monit]] - Monitors specific services | + | * [[server_monitoring: |
| - | * [[#nagios|Nagios]] - Monitors servers, | + | * [[server_monitoring: |
| - | * [[#Zabbix|Zabbix]] -Monitor | + | * [[server_monitoring: |
| - | + | ||
| - | + | ||
| - | ===== Ganglia ===== | + | |
| - | + | ||
| - | [[http:// | + | |
| - | + | ||
| - | You can see the ganglia installation here: http:// | + | |
| - | + | ||
| - | {{: | + | |
| - | + | ||
| - | Interesting documentation: | + | |
| - | ==== Troubleshooting ==== | + | |
| - | From time to time there are problems with Ganglia' | + | |
| - | + | ||
| - | - Stop data collection daemon on HPC: '' | + | |
| - | - Stop monitoring daemon on compute nodes: '' | + | |
| - | - Start data collection daemon on HPC: '' | + | |
| - | - Wait a minute or two | + | |
| - | - Start monitoring daemon on compute nodes: '' | + | |
| - | + | ||
| - | Now go check the Ganglia web interface and see if the nodes have returned. | + | |
| - | + | ||
| - | ===== Monit ===== | + | |
| - | + | ||
| - | Monit is a free open source utility for managing and monitoring, processes, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. | + | |
| - | Monit can start a process if it does not run, restart a process if it does not respond and stop a process if it uses too much resources. it logs to syslog or to its own log file and notifies you about error conditions and recovery status via customizable alert. | + | |
| - | Monit provides a built-in HTTP(S) interface and you can use a browser to access the Monit server. | + | |
| - | + | ||
| - | M/Monit expand upon Monit' | + | |
| - | + | ||
| - | Get the latest version at: http:// | + | |
| - | + | ||
| - | < | + | |
| - | $ tar xfz monit-5.0.3.tar.gz | + | |
| - | $ cd monit-5.0.3 | + | |
| - | $ ./configure && make && make install</ | + | |
| - | Accessing monit: | + | |
| - | http:// | + | |
| - | + | ||
| - | ===== Nagios ===== | + | |
| - | + | ||
| - | Nagios is a powerful monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes. http:// | + | |
| - | + | ||
| - | === Installation === | + | |
| - | + | ||
| - | ---- | + | |
| - | + | ||
| - | Download the latest version of nagios while hot, from http:// | + | |
| - | < | + | |
| - | $ cd nagios-3.2.0 | + | |
| - | $ ./ | + | |
| - | $ make all | + | |
| - | $ useradd nagios | + | |
| - | $ make install | + | |
| - | $ make install-init | + | |
| - | $ make install-commandmode | + | |
| - | $ make install-config | + | |
| - | $ make install-webconf | + | |
| - | </ | + | |
| - | === Configuration === | + | |
| - | + | ||
| - | ---- | + | |
| - | Running the following command will create a new file called htpasswd.users in the / | + | |
| - | < | + | |
| - | + | ||
| - | Download and install plugins | + | |
| - | < | + | |
| - | $ wget http:// | + | |
| - | $ tar xfz nagios-plugins-1.4.14.tar.gz | + | |
| - | $ cd nagios-plugins-1.4.14 | + | |
| - | $ ./configure && make && make install | + | |
| - | </ | + | |
| - | Edit the configuration files to add host and services to be monitored: | + | |
| - | < | + | |
| - | + | ||
| - | Check remote services http:// | + | |
| - | === Accessing Nagios === | + | |
| - | + | ||
| - | ---- | + | |
| - | http:// | + | |
| - | + | ||
| - | with username = " | + | |
| - | + | ||
| - | ==== Zabbix ==== | + | |
| - | ---- | + | |