Page 1 of 1

NRPE clients updated to nrpe 4.x has issue with Nagios XI

Posted: Tue Jul 07, 2020 12:13 pm
by jbaduria
Hi,

NRPE clients have been upgraded during patching and new builds to 4.0.3. This is causing the following issue.

Jun 29 09:11:24 host1 nrpe[26424]: Error: (use_ssl == true): Request packet version was invalid!
Jun 29 09:11:24 host1 nrpe[26424]: Could not read request from client XX.XX.XX.XX, bailing out...
Jun 29 09:11:24 host1 nrpe[26424]: INFO: SSL Socket Shutdown

nrpe on nagios XI is

/usr/local/nagios/libexec/check_nrpe -V
NRPE Plugin for Nagios
Version: 3.2.1

If I use -2 on check_nrpe to test a host runnning nrpe 4.0.3, it works.

Thanks

Re: NRPE clients updated to nrpe 4.x has issue with Nagios X

Posted: Tue Jul 07, 2020 3:45 pm
by benjaminsmith
Hi @jbaduria,

Welcome to the Nagios Forum! That is correct, there was a breaking change in version 4 to the packet sizes, so you can just add then -2 option to your check command to force version 2 packets to be used or upgrade check_nrpe and the agent running on the remote hosts to the latest version.

Let me know if you have more questions.

References:
https://support.nagios.com/kb/article/n ... s-786.html
https://github.com/NagiosEnterprises/nr ... ANGELOG.md

Re: NRPE clients updated to nrpe 4.x has issue with Nagios X

Posted: Thu Jul 09, 2020 7:54 am
by jbaduria
Our clients are already at nrpe 4.0.3. I know I can use -2 to force v2 packets. How do I upgrade the nrpe on Nagios XI server to v4?

Thanks

Re: NRPE clients updated to nrpe 4.x has issue with Nagios X

Posted: Thu Jul 09, 2020 4:23 pm
by benjaminsmith
Hi,

The following KB article has instructions on how to configure the check command to use version -2 packets.

NRPE - Remote does not support Version 3 Packets

Upgrading NRPE on the XI server is handled done to version upgrades. However, I would recommend waiting to upgrade until 5.7.2, a few issues hitting some systems right now.

Let us know if you have any more questions.