server_monitoring
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
server_monitoring [2009/11/17 11:42] – 172.26.0.166 | server_monitoring [2009/11/19 14:51] – 172.26.0.166 | ||
---|---|---|---|
Line 71: | Line 71: | ||
=== Installation === | === Installation === | ||
- | Download the latest version of nagios while hot, from http:// | ||
- | < | ||
+ | ---- | ||
+ | |||
+ | Download the latest version of nagios while hot, from http:// | ||
+ | < | ||
+ | $ cd nagios-3.2.0 | ||
+ | $ ./configure | ||
+ | $ make all | ||
+ | $ useradd nagios | ||
+ | $ make install | ||
+ | $ make install-init | ||
+ | $ make install-commandmode | ||
+ | $ make install-config | ||
+ | $ make install-webconf | ||
+ | </ | ||
=== Configuration === | === 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 = " | ||
+ | |||