Page 1 of 1
Error: (use_ssl == true): Request packet version was invalid
Posted: Thu Sep 10, 2020 9:10 am
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?
Re: Error: (use_ssl == true): Request packet version was inv
Posted: Fri Sep 11, 2020 11:43 am
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.
And then re-start the nrpe service after making the change.
Reference:
https://support.nagios.com/forum/viewto ... 16&t=58387
Re: Error: (use_ssl == true): Request packet version was inv
Posted: Fri Sep 11, 2020 11:47 am
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:
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.
Re: Error: (use_ssl == true): Request packet version was inv
Posted: Fri Sep 11, 2020 1:48 pm
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?
Re: Error: (use_ssl == true): Request packet version was inv
Posted: Fri Sep 11, 2020 2:55 pm
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.