Page 1 of 1

Can't install NRPE

Posted: Sun Jul 24, 2016 2:54 am
by hack3rcon
Hello.
I want to install NRPE on CentOS 7 and I did below steps :

Code: Select all

# yum install -y gcc glibc glibc-common gd gd-devel make net-snmp openssl-devel
# yum install xinetd
After it I created a "nagios" user and installed Nagios Plugin and configure it as below :

Code: Select all

# tar xvfz nagios-plugins-1.4.11.tar.gz
# cd nagios-plugins-1.4.11
# ./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib/x86_64-linux-gnu
# make
# make install
# chown nagios.nagios /usr/local/nagios
# chown -R nagios.nagios /usr/local/nagios/libexec/
Then Download NRPE and compile it via below commands :

Code: Select all

#./configure
#make all
#make install-plugin
#make install-daemon
#make install-daemon-config
but when I enter "make install-daemon-config" then I got below error :

Code: Select all

make: *** No rule to make target `install-daemon-config'.  Stop.
How can I solve it?

Thank you.

Re: Can't install NRPE

Posted: Sun Jul 24, 2016 11:03 pm
by Box293
Can you please follow this guide to install NRPE v3, it's tested on CentOS 7 and is guaranteed to work.

https://support.nagios.com/kb/article.php?id=515

Re: Can't install NRPE

Posted: Mon Jul 25, 2016 1:23 am
by hack3rcon
Box293 wrote:Can you please follow this guide to install NRPE v3, it's tested on CentOS 7 and is guaranteed to work.

https://support.nagios.com/kb/article.php?id=515

Thank you, Problem solved :)

Re: Can't install NRPE

Posted: Mon Jul 25, 2016 11:31 am
by bwallace
Thanks for the update and glad to hear it worked out. Locking this thread now.