Difference between revisions of "Nagios NSCA"
From SME Server
Jump to navigationJump to search (New page: {{Languages}} {{Needs review}} === Maintainer === Michael Weinberger === Introduction === This document describes the installation of [http://nagios.sourceforge.net/docs/3_0/distributed...) |
Unnilennium (talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 19: | Line 19: | ||
==== Configure the dag repositoy ==== | ==== Configure the dag repositoy ==== | ||
− | + | You need to activate the [[Dag]] reposity before installing this contrib.<br /> | |
+ | see [[dag|dag repository]] <br /> | ||
==== NSCA installation (Distributed Monitoring) ==== | ==== NSCA installation (Distributed Monitoring) ==== | ||
Line 76: | Line 77: | ||
---- | ---- | ||
− | [[Category: | + | [[Category: Deprecated_Contrib]] |
+ | [[Category: Nagios]] | ||
[[Category: Webapps]] | [[Category: Webapps]] | ||
− | [[Category: Administration]] | + | [[Category: Administration:Monitoring]] |
Latest revision as of 07:51, 11 July 2022
Maintainer
Michael Weinberger
Introduction
This document describes the installation of Nagios Distributed Monitoring (NSCA).
Download
Download the packages and files from http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/Nagios3/packages/ manually or run the the script wgetall to download all in one go.
bash < wgetall
Installation
Configure the dag repositoy
You need to activate the Dag reposity before installing this contrib.
see dag repository
NSCA installation (Distributed Monitoring)
Installation of a distributed server
/usr/bin/yum --enablerepo=dag install \ nagios-plugins \ nagios-plugins-nrpe \ nagios-plugins-setuid \ perl-Config-Tiny
/usr/bin/yum --enablerepo=dag localinstall \ smeserver-nagios-nsca-*.noarch.rpm \ smeserver-nagios-backup-*.noarch.rpm \ perl-Nagios-Plugin-*.noarch.rpm \ smeserver-nagios-plugins-*.noarch.rpm \ nagios-plugins-generic-*.noarch.rpm \ nagios-plugins-temptrax-*.el4.rf.i386.rpm \ nagios-of-plugins-*.noarch.rpm
Configuration of a distributed server
Configure the distributed server by editing the client config file /etc/nagios/send_nsca.cfg. Read more here.
Required installation on the central Nagios server
/usr/bin/yum --enablerepo=dag localinstall smeserver-nagios-nsca-*.noarch.rpm
NSCA configuration on the central Nagios server
Configure the TCP wrapper.
config set nsca service 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 here. Restart the service to make the configuration effective:
service nsca restart
Uninstall
This removes the installed Nagios packages.
service nsca stop
rpm -e \ nagios \ nagios-nsca \ nagios-plugins-nrpe \ smeserver-nagios-nsca \ smeserver-nagios-backup \ nagios-of-plugins \ nagios-plugins-generic \ nagios-plugins-setuid \ nagios-plugins-temptrax \ perl-Nagios-Plugin \ smeserver-nagios-plugins-mysql
expand-template /etc/hosts.allow