Page 1 of 1

Check nrpe 4.0.3 problem after upgrade to 5.7.3

Posted: Tue Sep 29, 2020 11:24 pm
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...

Re: Check nrpe 4.0.3 problem after upgrade to 5.7.3

Posted: Wed Sep 30, 2020 4:45 pm
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

Re: Check nrpe 4.0.3 problem after upgrade to 5.7.3

Posted: Wed Sep 30, 2020 8:20 pm
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?

Re: Check nrpe 4.0.3 problem after upgrade to 5.7.3

Posted: Thu Oct 01, 2020 3:56 pm
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

Re: Check nrpe 4.0.3 problem after upgrade to 5.7.3

Posted: Thu Oct 01, 2020 9:25 pm
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

Re: Check nrpe 4.0.3 problem after upgrade to 5.7.3

Posted: Fri Oct 02, 2020 8:18 am
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