Nagios Client Install on Linux CentOS

Packages you will need:
1.      Create an install dir:
mkdir /install
2.      Download NRPE:
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:
12.tar -zxvf nagios-plugins-1.4.14.tar.gz nagios-plugins-1.4.14
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