Page 1 of 1

NRPE upgrade

Posted: Mon Mar 11, 2013 8:43 am
by yousuf
Hello,
Can you please let me know the procedure of updating nrpe from 2.8 version to 2.12 .

Appreciate your efforts.

Regards,
Yousuf

Re: NRPE upgrade

Posted: Mon Mar 11, 2013 9:22 am
by slansing
How did you previously install NRPE? Here is the recommended way to upgrade, as it is shown in our documentation, if you installed NRPE following one of our guides:

Please see Section 5:

http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

Re: NRPE upgrade

Posted: Tue Mar 12, 2013 3:47 am
by yousuf
Thanks for the quick reply. It was perviously installed by someone. I am supporting and would like to upgrade it to latest version.

Regards,
Yousuf

Re: NRPE upgrade

Posted: Tue Mar 12, 2013 9:24 am
by slansing
My reply still stands, you will need to find out how it was installed, by my assumption would be the way the document describes.

Re: NRPE upgrade

Posted: Wed Mar 13, 2013 1:02 pm
by flakeman2
Hi,

I'm also looking to upgrade but I'm going from nrpe-2.13 to nrpe-2.14 for security reasons. I saw the announcement about the release of nrpe-2.14 here: http://www.nagios.org/news/77-news-anno ... 4-released

After downloading the source and inspecting the nrpe.spec file. It looks like the option to run nrpe under xinetd instead of as a service has been removed. Do you know if that's the case or can I simply configure the nrpe.spec file to work with xinetd?

Any information is appreciated. Thanks,

Devin

Re: NRPE upgrade

Posted: Wed Mar 13, 2013 1:48 pm
by abrist
It should work with xinetd. There should be xinted configs in the sample-config directory in the nrpe source tarball. You will need to add "nrpe 5666/tcp" to the /etc/services file and copy over the nrpe.xinetd file from the sample-config to the file /etc/xinetd.d/nrpe. You will need to install xinetd from your package repos as well.

Re: NRPE upgrade

Posted: Wed Mar 13, 2013 4:12 pm
by flakeman2
Thanks I'll give it a try and report back

Devin

Re: NRPE upgrade

Posted: Wed Mar 13, 2013 4:55 pm
by slansing
Let us know how it goes.

Re: NRPE upgrade

Posted: Wed Mar 13, 2013 4:58 pm
by scottwilkerson
Typically an upgrade would go like this (if the original install was from source)

Code: Select all

./configure --enable-command-args
make all
make install-daemon
service xinetd restart