NRPE upgrade

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
yousuf
Posts: 4
Joined: Fri Mar 08, 2013 4:28 pm

NRPE upgrade

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRPE upgrade

Post 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
yousuf
Posts: 4
Joined: Fri Mar 08, 2013 4:28 pm

Re: NRPE upgrade

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRPE upgrade

Post 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.
flakeman2
Posts: 2
Joined: Wed Mar 13, 2013 12:37 pm

Re: NRPE upgrade

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NRPE upgrade

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
flakeman2
Posts: 2
Joined: Wed Mar 13, 2013 12:37 pm

Re: NRPE upgrade

Post by flakeman2 »

Thanks I'll give it a try and report back

Devin
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRPE upgrade

Post by slansing »

Let us know how it goes.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRPE upgrade

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked