How do I upgrade Nagios XI to NRPE Version 3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tony
Posts: 59
Joined: Sat Mar 08, 2014 5:49 am

How do I upgrade Nagios XI to NRPE Version 3

Post by tony »

How do I upgrade Nagios XI to NRPE version 3 - the agent and the check_nrpe plugin

NRPE is on the following 3 objects

- The Nagios XI Server
- The Mod gearman worker servers
- The Linux servers being monitored.

How do I upgrade to NRPE 3 (without installing from source - as very little Linux skills)

I believe that the NRPE Agent - linux-nrpe-agent.tar.gz was updated in September to contain NRPE 3.2.1
downloaded from here - https://assets.nagios.com/downloads/nagiosxi/agents

So can I run the .fullinstall script - will this do both scenarios
- a fresh install
- and an upgrade

Is there an upgrade script ?

If it cannot perform an upgrade how do I remove NRPE 2 and install NRPE 3.

I have seen this link - NRPE - Upgrading To NRPE v3 From Source
https://support.nagios.com/kb/article.php?id=520

but again wondering if we have a script to do this.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: How do I upgrade Nagios XI to NRPE Version 3

Post by npolovenko »

Hello, @Tony. If you want to automatically update nrpe on your XI server I'd recommend updating the whole XI system. You could either do it from the web interface or from the command line. And your new XI should automatically be able to work with older versions of NRPE clients on your remote computers. If updating XI is not an option then you'd need to do it manually.
You could use the KB article from your post if you're doing a source installation. But before you do anything I'd recommend running a full system backup(Admin/System Backups/Local Backup Archives/Create Backup). Also, make a copy of nrpe.cfg file from:

Code: Select all

/usr/local/nagios/etc/
and save it somewhere on your computer.
Finally, you may update NRPE on the client servers as well. XI does have a backward compatibility so you don't really have to. But if you choose to update, you could either follow the manual or you could just remove all nrpe related folders and reinstall NRPE from scratch: https://support.nagios.com/kb/article/n ... -nrpe.html
Let us know how it goes.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
tony
Posts: 59
Joined: Sat Mar 08, 2014 5:49 am

Re: How do I upgrade Nagios XI to NRPE Version 3

Post by tony »

Was the new Linux agent not update in September to include NRPE version 3 - as I prefer to run the scripted install as I have very little Linux experience

- linux-nrpe-agent.tar.gz downloaded from here - https://assets.nagios.com/downloads/nagiosxi/agents

Would this not upgrade an existing install?
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: How do I upgrade Nagios XI to NRPE Version 3

Post by npolovenko »

@tony
Was the new Linux agent not update in September to include NRPE version 3
Correct, NRPE 3 was released in September.
as I prefer to run the scripted install as I have very little Linux experience
That's pretty much what you'd need to do on remote computers. Download tar, extract it and run the full install script.
But the installation will not go through because it'll determine that you already have NRPE installed. That's why I included instructions on how to uninstall the old NRPE first.
On Nagios XI server side the easiest way to upgrade NRPE would be to run an automatic update on whole Nagios XI system.

Is there a particular reason you're looking to upgrade nrpe?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
tony
Posts: 59
Joined: Sat Mar 08, 2014 5:49 am

Re: How do I upgrade Nagios XI to NRPE Version 3

Post by tony »

Ok - on an existing Linux server that is being monitored I will uninstall NRPE first.

However on the Nagios XI Server - I have upgraded from Nagios XI version 5-4-9 to 5-4-10 but I still have NRPE 2.15?

I
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: How do I upgrade Nagios XI to NRPE Version 3

Post by npolovenko »

@tony, I just looked at the changelog and it looks like NRPE plugin hasn't been updated yet indeed. I apologize. So that means the only way to update NRPE plugin on XI right now is to follow this tutorial: https://support.nagios.com/kb/article.php?id=515 Look for the section called "Install check_nrpe Plugin Only".
Also, nrpe plugin may be updated in the upcoming release of XI 5.5, but we don't know that for sure.
May I ask why are looking to upgrade NRPE? Perhaps we can come up with a better solution if we knew the desired outcome. Are you looking into setting up enhanced security feature with SSL?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
tony
Posts: 59
Joined: Sat Mar 08, 2014 5:49 am

Re: How do I upgrade Nagios XI to NRPE Version 3

Post by tony »

I am looking to upgrade both the NRPE agent and the check_nrpe plugin on the XI server to version 3
dwasswa

Re: How do I upgrade Nagios XI to NRPE Version 3

Post by dwasswa »

Hi @tony,

Please follow the instructions in this kb article to upgrade to NRPE v3...nrpe-upgrading-to-nrpe-v3-from-source

In regards to upgrading the check_nrpe plugin, the upgrade to NRPE v3 will upgrade it as well.

Please let me know if you have any questions.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: How do I upgrade Nagios XI to NRPE Version 3

Post by npolovenko »

Thanks, @dwasswa. @tony, Were you able to successfully upgrade the plugin and the agents?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
tony
Posts: 59
Joined: Sat Mar 08, 2014 5:49 am

Re: How do I upgrade Nagios XI to NRPE Version 3

Post by tony »

Yes - I upgraded both the nrpe agent / daemon and the check_nrpe plugin on the XI server

By running the scripted install - ./fullinstall - released in the September linux-nrpe-agent.tar.gz downloaded from here - https://assets.nagios.com/downloads/nagiosxi/agents

Thanks for all your help.
Locked