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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sslimani
Posts: 10
Joined: Mon Aug 03, 2020 9:17 am

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

Post by sslimani »

Hello,
/var/log/syslog shows an error against NRPE request:
"Error: (use_ssl == true): Request packet version was invalid!
Could not read request from client , bailing out...
INFO: SSL Socket Shutdown."

Anyone have am idea about this please?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Error: (use_ssl == true): Request packet version was inv

Post by benjaminsmith »

Hi,

Let me know if the check results are working as expected? If so, then it would safe to turn off the syslog in the nrpe.cfg file with the following option.

Code: Select all

disable_syslog=0
And then re-start the nrpe service after making the change.

Reference:
https://support.nagios.com/forum/viewto ... 16&t=58387
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!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Error: (use_ssl == true): Request packet version was inv

Post by cdienger »

Sounds like you're running into:

https://support.nagios.com/forum/viewto ... 16&t=58387

What versions of the agent and plugin are you using? You can check the plugin on the XI side with:

Code: Select all

/usr/local/nagios/libexec/check_nrpe -V
and the agent on the client side with:

Code: Select all

/usr/local/nagios/bin/nrpe -V
You can also upgrade or downgrade the plugin/agent if needed. The post also has the steps to disable the logging the checks are working and you just want to avoid these messages.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
sslimani
Posts: 10
Joined: Mon Aug 03, 2020 9:17 am

Re: Error: (use_ssl == true): Request packet version was inv

Post by sslimani »

Thank you for your responses,
I get in Nagios XI side:
"/usr/local/nagios/libexec/check_nrpe -V
NRPE Plugin for Nagios
Version: 4.0.3"

and for client side:
"/usr/local/nagios/bin/nrpe -V
NRPE - Nagios Remote Plugin Executor
Version: 3.2.1"

and I get in Nagios log:
"Remote xxxxxxxx does not support Version 3/4 Packets
Remote xxxxxxx accepted a Version 2 Packet"
So should I update client to v4? and how Nagios accepts v2 while client is v3?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Error: (use_ssl == true): Request packet version was inv

Post by cdienger »

I would upgrade to version 4 if you can.

You can also try running the plugin with the option "-3" or "-2" and see if that helps eliminate the message. It forces the specific protocol version.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked