User Tools

Site Tools


server_monitoring

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
server_monitoring [2009/11/18 13:48] 172.26.0.166server_monitoring [2009/11/19 14:51] 172.26.0.166
Line 92: Line 92:
 <code>htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin </code> <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 === === Accessing Nagios ===
  
Line 97: Line 108:
 http://172.26.0.205:4020/nagios/ http://172.26.0.205:4020/nagios/
  
-with  username = nagiosadmin +with  username = "nagiosadmin" and password = "nagios"
-      password = nagios+