Changes

Jump to navigation Jump to search
756 bytes added ,  19:20, 19 November 2007
Line 134: Line 134:  
{{Warning box|This is untested and may not work as expected}}
 
{{Warning box|This is untested and may not work as expected}}
 
{{Incomplete}}
 
{{Incomplete}}
 +
===== Installation of a distributed server =====
 
  /usr/bin/yum --enablerepo=dag localinstall \
 
  /usr/bin/yum --enablerepo=dag localinstall \
 
   smeserver-nagios-nsca-1.0.1-0.noarch.rpm \
 
   smeserver-nagios-nsca-1.0.1-0.noarch.rpm \
Line 147: Line 148:  
   nagios-of-plugins-0.9.4-1.of.noarch.rpm
 
   nagios-of-plugins-0.9.4-1.of.noarch.rpm
   −
===== NSCA configuration =====
+
===== Configuration of a distributed server =====
see http://nagios.sourceforge.net/docs/2_0/distributed.html
+
Configure the distributed server by editing the client config file ''/etc/nagios/send_nsca.cfg''. Read more [http://nagios.sourceforge.net/docs/2_0/distributed.html here].
 +
 
 +
 
 +
===== Additonal installation on the central Nagios server =====
 +
/usr/bin/yum --enablerepo=dag localinstall \
 +
smeserver-nagios-nsca-1.0.1-0.noarch.rpm
 +
 
 +
===== NSCA configuration on the central Nagios server=====
 +
Configure the TCP wrapper.
 +
config setprop nsca HostsAllow "127.0.0.1 DISTRIBUTED_SERVER_IP"
 +
expand-template /etc/hosts.allow
 +
Configure the NSCA service by editing the config file ''/etc/nagios/nsca.cfg''. Read more [http://nagios.sourceforge.net/docs/2_0/distributed.html here].
 +
Restart the service to make the configuration effective:
 +
service nsca restart
    
=== Nagios configuration ===
 
=== Nagios configuration ===
501

edits

Navigation menu