Page 1 of 1

Error installing NRPE on Fedora server

Posted: Fri Dec 16, 2016 11:15 am
by neworderfac33
Good afternoon,

I'm trying to install NRPE on a Fedora server with:

cd /home/downloads
tar xvfz nrpe-2.15.tar.gz
cd nrpe-2.15
./configure

but instead of reporting:
*** Configuration summary for nrpe 2.15 09-06-2013 ***:

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

as it did with my other servers, which I believe are CentOS, it reports:

checking for SSL headers... configure: error: Cannot find ssl headers

no errors are reported, but when I attempt to edit the /etc/xinetd.d/nrpe file, it doesn't exist.

Here's some other stuff that may or may not be helpful:

cat /proc/version
Linux version 4.8.11-200.fc24.x86_64 ([email protected]) (gcc version 6.2.1 20160916 (Red Hat 6.2.1-2) (GCC) ) #1 SMP Mon Nov 28 19:36:57 UTC 2016
[root@mn2regsat0001d0 nagios-plugins-2.1.1]#

uname -r
4.8.11-200.fc24.x86_64

Can anyone tell me what I need to do to install NRPE, please?

Thanks in advance

Pete

Re: Error installing NRPE on Fedora server

Posted: Fri Dec 16, 2016 11:30 am
by dwhitfield
Is there a reason you are installing 2.15 instead of 3.01? Install instructions are at https://support.nagios.com/kb/article.php?id=515

The instructions are for 3.0, but I'd highly advise getting the latest version.

Re: Error installing NRPE on Fedora server

Posted: Fri Dec 16, 2016 12:45 pm
by neworderfac33
Just because of compatibility with all the other Linux servers we're monitoring - I don't want to have to go back and update them all unless I really have to.

I tried ./configure --enable-command-args

but it still reports:

checking for SSL headers... configure: error: Cannot find ssl headers

Thanks for looking and have a good weekend - yaay - it's hometime!

Pete

Re: Error installing NRPE on Fedora server

Posted: Fri Dec 16, 2016 12:53 pm
by dwhitfield
Try ./configure --enable-ssl

https://assets.nagios.com/downloads/nag ... utions.pdf may be of use if you are looking at this over the weekend.

Our Fedora instructions at https://support.nagios.com/kb/article.php?id=515 are written for 23, so it may take a little bit of time to see if Fedora has changed anything in their SSL stack. That's the next place to go if the --enable-ssl option doesn't do it for you.

Re: Error installing NRPE on Fedora server

Posted: Mon Dec 19, 2016 4:34 am
by neworderfac33
Good morning - thanks for coming back to me - unfortunately, this still gives me

checking for SSL headers... configure: error: Cannot find ssl headers

Thanks

Pete

Re: Error installing NRPE on Fedora server

Posted: Mon Dec 19, 2016 7:04 am
by amprantino
install openssl

Re: Error installing NRPE on Fedora server

Posted: Mon Dec 19, 2016 8:45 am
by neworderfac33
All sorted - I needed to

yum install openssl-devel

before

./configure --enable-ssl

and

yum install xinetd

before

make install-xinetd

Thank you for taking the time to have a look at my issue, plus the link to the installation instructions was MOST helpful.

If I'm not on here again beforehand, Merry Christmas to you and everyone else on here. I'm not politically correct enough for "Happy Holidays" yet!

Pete

Re: Error installing NRPE on Fedora server

Posted: Mon Dec 19, 2016 10:14 am
by dwhitfield
thanks @amprantino!
peterooney wrote: I'm not politically correct enough for "Happy Holidays" yet!
If it helps, I always thought of it as a shorthand for Merry Christmas and a Happy New Year. :) As far as Christmas goes, we'll be off Friday and Monday, so get your questions in early this week.

Awesome that things are working, and particularly that the instructions still work (or at least are good enough to get things in the right direction).

I'm going to go ahead and lock this up. Merry Christmas and Happy New Year!