This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
server_monitoring:nagios [2010/06/21 22:44] 172.26.14.218 |
server_monitoring:nagios [2010/06/21 22:45] (current) 172.26.14.218 |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ====== Installation ====== | ====== Installation ====== | ||
| - | |||
| Download the latest version of nagios while hot, from http:// | Download the latest version of nagios while hot, from http:// | ||
| - | <file>$ wget http:// | + | <code>$ wget http:// |
| $ cd nagios-3.2.0 | $ cd nagios-3.2.0 | ||
| $ ./configure | $ ./configure | ||
| Line 15: | Line 14: | ||
| $ make install-commandmode | $ make install-commandmode | ||
| $ make install-config | $ make install-config | ||
| - | $ make install-webconf | + | $ make install-webconf</ |
| - | </file> | + | ====== Configuration |
| - | ===== Configuration ===== | + | |
| - | ---- | ||
| Running the following command will create a new file called htpasswd.users in the / | Running the following command will create a new file called htpasswd.users in the / | ||
| - | < | + | < |
| Download and install plugins | Download and install plugins | ||
| - | <file> | + | <code>$ wget http:// |
| - | $ wget http:// | + | |
| $ tar xfz nagios-plugins-1.4.14.tar.gz | $ tar xfz nagios-plugins-1.4.14.tar.gz | ||
| $ cd nagios-plugins-1.4.14 | $ cd nagios-plugins-1.4.14 | ||
| - | $ ./configure && make && make install | + | $ ./configure && make && make install</ |
| - | </file> | + | |
| Edit the configuration files to add host and services to be monitored: | Edit the configuration files to add host and services to be monitored: | ||
| - | < | + | < |
| Check remote services http:// | Check remote services http:// | ||
| - | === Accessing Nagios === | + | ====== Accessing Nagios |
| - | ---- | ||
| http:// | http:// | ||
| with username = " | with username = " | ||