(use_ssl == true): Request packet version was invalid!

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rogonl
Posts: 1
Joined: Fri Jun 19, 2020 6:20 am

(use_ssl == true): Request packet version was invalid!

Post by rogonl »

We recently upgraded our Nagios Core environment to version 4.4.5, which includes nrpe 4.0.3. Since then we noticed on a regular basis this error message in our log files:

nrpe[27401]: Error: (use_ssl == true): Request packet version was invalid!

We found out that another server in our environment is also running nagios (not managed by us) and is monitoring our nagios server as well. However, they're running an earlier version and are using check_nrpe versie 3.2.1. Apparently this makes our nrpe daemon returning this error message as I found this piece of code in the nrpe.c source code:

if (packet_ver != NRPE_PACKET_VERSION_2 && packet_ver != NRPE_PACKET_VERSION_4) {
logit(LOG_ERR, "Error: (use_ssl == true): Request packet version was invalid!");
return -1;
}

It's therefore accepting version 2 and version 4 packets, but not version 3. Is this on purpose or is this a bug?

Kind regards, Ronald van Gogh
Locked