rilpoint_mw113

Nagios NSCA

Contents

1 Introduction

This document describes the installation of Nagios Distributed Monitoring (NSCA).

Warning:
This is untested and may not work as expected

2 Installation

2.1 NSCA installation (Distributed Monitoring)

2.1.1 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
2.1.2 Configuration of a distributed server

Configure the distributed server by editing the client config file /etc/nagios/send_nsca.cfg. Read more here.

2.1.3 Required installation on the central Nagios server
/usr/bin/yum --enablerepo=dag localinstall smeserver-nagios-nsca-*.noarch.rpm
2.1.4 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

3 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



Skin by RIL Partner
mweinber --!>