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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jbaduria
Posts: 3
Joined: Tue Jul 07, 2020 12:01 pm

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

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

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

Post 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
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!
jbaduria
Posts: 3
Joined: Tue Jul 07, 2020 12:01 pm

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

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

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

Post 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.
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!
Locked