Error installing NRPE on Fedora server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

Error installing NRPE on Fedora server

Post 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
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Error installing NRPE on Fedora server

Post 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.
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

Re: Error installing NRPE on Fedora server

Post 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
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Error installing NRPE on Fedora server

Post 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.
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

Re: Error installing NRPE on Fedora server

Post 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
amprantino
Posts: 140
Joined: Thu Apr 18, 2013 8:25 am
Location: libexec

Re: Error installing NRPE on Fedora server

Post by amprantino »

install openssl
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

Re: Error installing NRPE on Fedora server

Post 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
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Error installing NRPE on Fedora server

Post 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!
Locked