Updating NSClient++ 3.9 to 5.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RyanMule
Posts: 57
Joined: Tue Dec 12, 2017 3:14 pm

Updating NSClient++ 3.9 to 5.2

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Updating NSClient++ 3.9 to 5.2

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
RyanMule
Posts: 57
Joined: Tue Dec 12, 2017 3:14 pm

Re: Updating NSClient++ 3.9 to 5.2

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Updating NSClient++ 3.9 to 5.2

Post by scottwilkerson »

It should be, this should force the check_nrpe command to use version 2 packets
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked