Page 1 of 2
How do I upgrade Nagios XI to NRPE Version 3
Posted: Fri Nov 10, 2017 11:03 am
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.
Re: How do I upgrade Nagios XI to NRPE Version 3
Posted: Fri Nov 10, 2017 1:02 pm
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:
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.
Re: How do I upgrade Nagios XI to NRPE Version 3
Posted: Tue Nov 14, 2017 4:04 am
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?
Re: How do I upgrade Nagios XI to NRPE Version 3
Posted: Tue Nov 14, 2017 1:02 pm
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?
Re: How do I upgrade Nagios XI to NRPE Version 3
Posted: Wed Nov 15, 2017 10:11 am
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
Re: How do I upgrade Nagios XI to NRPE Version 3
Posted: Wed Nov 15, 2017 11:15 am
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?
Re: How do I upgrade Nagios XI to NRPE Version 3
Posted: Thu Nov 23, 2017 10:11 am
by tony
I am looking to upgrade both the NRPE agent and the check_nrpe plugin on the XI server to version 3
Re: How do I upgrade Nagios XI to NRPE Version 3
Posted: Mon Nov 27, 2017 3:00 pm
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.
Re: How do I upgrade Nagios XI to NRPE Version 3
Posted: Tue Nov 28, 2017 2:53 pm
by npolovenko
Thanks,
@dwasswa.
@tony, Were you able to successfully upgrade the plugin and the agents?
Re: How do I upgrade Nagios XI to NRPE Version 3
Posted: Tue Nov 28, 2017 3:16 pm
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.