Nagios Client Install on Linux CentOS


Packages you will need:
gcc
openssl-devel
1.      Create an install dir:
mkdir /install
2.      Download NRPE:
wget http://prdownloads.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz
3.  tar -zxvf nrpe-2.12.tar.gz
4.  cd nrpe-2.12
5.  ./configure
should end with an output like this:
*** Configuration summary for nrpe 2.12 03-10-2008 ***:

 General Options:
 -------------------------
 NRPE port:    5666
 NRPE user:    nagios
 NRPE group:   nagios
 Nagios user:  nagios
 Nagios group: nagios


Review the options above for accuracy.  If they look okay,
type 'make all' to compile the NRPE daemon and client.
6.      Run
make all
7.  useradd nagios
8.  make install
9.      Edit and install nrpe.cfg into /usr/local/nagios/etc
10.  Go back into
cd /install
11.  Download Nagios-Plugisns:
wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.14.tar.gz
12.tar -zxvf nagios-plugins-1.4.14.tar.gz
13.cd nagios-plugins-1.4.14
14../configure
15.make all
16.make install
17.  Install nrpe into /etc/init.d
18.chmod a+x nrpe
19.  Run
 chkconfig --add nrpe
20.chkconfig --level 235 nrpe on
Labels parameters

No comments:

Post a Comment