Check nrpe 4.0.3 problem after upgrade to 5.7.3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Check nrpe 4.0.3 problem after upgrade to 5.7.3

Post by rajasegar »

After upgrade to 5.7.3 we are having issues with check_nrpe.
It is causing all NSClient service output to show up as OK - CHECK_NRPE: Invalid packet version received from server

Prior to upgrade check_nrpe v3.2.1

Code: Select all

[nagios@myucbrnagiapp05 libexec]$ ./check_nrpe_v3  -H  10.104.28.46
I (0.5.2.39 2018-02-04) seem to be doing fine...

[nagios@myucbrnagiapp05 libexec]$ ./check_nrpe_v3 -2 -H  10.104.28.46
I (0.5.2.39 2018-02-04) seem to be doing fine...
After upgrade to check_nrpe 4.0.1 XI 5.7.3

Code: Select all

[nagios@myucbrnagiapp05 libexec]$ ./check_nrpe_v3  -H  10.104.28.46
I (0.5.2.39 2018-02-04) seem to be doing fine...
[nagios@myucbrnagiapp05 libexec]$ ./check_nrpe -H  10.104.28.46
[b]CHECK_NRPE: Invalid packet version received from server.[/b]
I (0.5.2.39 2018-02-04) seem to be doing fine...
[nagios@myucbrnagiapp05 libexec]$ ./check_nrpe -2 -H  10.104.28.46
I (0.5.2.39 2018-02-04) seem to be doing fine...
[nagios@myucbrnagiapp05 libexec]$ ./check_nrpe -3 -H  10.104.28.46
[b]CHECK_NRPE: Invalid packet version received from server.[/b]
I (0.5.2.39 2018-02-04) seem to be doing fine...
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Check nrpe 4.0.3 problem after upgrade to 5.7.3

Post by benjaminsmith »

Hi @rajasegar,

We've updated the NRPE to version 4 and the packet type was updated as well. However, you can set the check command for these services to use version 2 packet types.

The steps are covered in the following guide.

NRPE - Remote does not support Version 3 Packets

Let me know if that resolves the issue for you.

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Check nrpe 4.0.3 problem after upgrade to 5.7.3

Post by rajasegar »

benjaminsmith wrote:Hi @rajasegar,

We've updated the NRPE to version 4 and the packet type was updated as well. However, you can set the check command for these services to use version 2 packet types.

The steps are covered in the following guide.

NRPE - Remote does not support Version 3 Packets

Let me know if that resolves the issue for you.

Benjamin
Are you telling me check_nrpe version 3.2.1 defaults to 3 and falls back to 2 without any error message?
We moved to 3 due to the vunerablities related to v2.

How to force NSClient to use v3 communications?
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Check nrpe 4.0.3 problem after upgrade to 5.7.3

Post by benjaminsmith »

Hi,

This is explained further in the following guide but this setting is related to the packet size required by NSClient.

NRPE - Packet Size Explained

We are not the developer of NSClient but we have taken steps to ensure compatibility so you can continue to use this agent with the new versions of NRPE.

--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Check nrpe 4.0.3 problem after upgrade to 5.7.3

Post by rajasegar »

benjaminsmith wrote:Hi,

This is explained further in the following guide but this setting is related to the packet size required by NSClient.

NRPE - Packet Size Explained

We are not the developer of NSClient but we have taken steps to ensure compatibility so you can continue to use this agent with the new versions of NRPE.

--Benjamin
Thanks. Please close the thread
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Check nrpe 4.0.3 problem after upgrade to 5.7.3

Post by scottwilkerson »

rajasegar wrote:
benjaminsmith wrote:Hi,

This is explained further in the following guide but this setting is related to the packet size required by NSClient.

NRPE - Packet Size Explained

We are not the developer of NSClient but we have taken steps to ensure compatibility so you can continue to use this agent with the new versions of NRPE.

--Benjamin
Thanks. Please close the thread
Great!

Closing thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked