Page 1 of 1
Updating NSClient++ 3.9 to 5.2
Posted: Mon Jul 09, 2018 12:43 pm
by RyanMule
Hello All,
Last week we attempted to upgrade to Nagios XI 5.5 however it broke many of our checks. Come to find out NSClient 3.9 is to old for XI 5.5
Is it possible to upgrade nsclient++ from 3.9 to 5.2? From what I am reading the format changed in version 4.x?
I am working with 1400 hosts and about 10,000 different checks. Trying to figure out my best option between upgrading or switching to ncpa?
Thank you
Ryan
Re: Updating NSClient++ 3.9 to 5.2
Posted: Tue Jul 10, 2018 2:25 pm
by scottwilkerson
I believe as a temporary workaround you may be able to add -2 to your check_nrpe definition.
For the bigger question, we don't have an automated method for upgrade for the clients but I would recommend upgrading 1 and getting the config correct and then copying that config to the other hosts when you perform the upgrade.
While the configs are different between the nsclient versions, they should run the same commands on the Nagios XI side.
I would encourage a switch to ncpa but you are going to have other hurdles if you make that move because not only is there the install of the agent, all of the configs on the XI server will need to change as well.
Re: Updating NSClient++ 3.9 to 5.2
Posted: Wed Jul 11, 2018 3:13 pm
by RyanMule
Hello Scott,
Thank you for your reply! So the temp fix is that easy?!?
As for the upgrade I have been testing with one host to get the config correct. I am just have trouble setting up the new .ini file and figuring out the new format
I would like to switch ncpa but right now that is a project is more than I can chew with the size of the environment.
Ryan
scottwilkerson wrote:I believe as a temporary workaround you may be able to add -2 to your check_nrpe definition.
For the bigger question, we don't have an automated method for upgrade for the clients but I would recommend upgrading 1 and getting the config correct and then copying that config to the other hosts when you perform the upgrade.
While the configs are different between the nsclient versions, they should run the same commands on the Nagios XI side.
I would encourage a switch to ncpa but you are going to have other hurdles if you make that move because not only is there the install of the agent, all of the configs on the XI server will need to change as well.
Re: Updating NSClient++ 3.9 to 5.2
Posted: Wed Jul 11, 2018 3:15 pm
by scottwilkerson
It should be, this should force the check_nrpe command to use version 2 packets