I happened to notice that one of my CentOS 8 servers' NRPE checks was failing:

On the servers console, using the following command, I can see that there is an SSL error occurring: journalctl -eu nrpe -f
Code: Select all
Oct 15 10:39:04 AWX.verkko.local nrpe[3151]: Error: (use_ssl == true): Request packet version was invalid!
Oct 15 10:39:04 AWX.verkko.local nrpe[3151]: Could not read request from client 192.4.61.36, bailing out...
Oct 15 10:39:04 AWX.verkko.local nrpe[3151]: INFO: SSL Socket Shutdown.
Oct 15 10:39:07 AWX.verkko.local nrpe[3214]: Error: (use_ssl == true): Request packet version was invalid!
Oct 15 10:39:07 AWX.verkko.local nrpe[3214]: Could not read request from client 192.4.61.36, bailing out...
Oct 15 10:39:07 AWX.verkko.local nrpe[3214]: INFO: SSL Socket Shutdown.
Oct 15 10:39:08 AWX.verkko.local nrpe[3229]: Error: (use_ssl == true): Request packet version was invalid!
Oct 15 10:39:08 AWX.verkko.local nrpe[3229]: Could not read request from client 192.4.61.36, bailing out...
Oct 15 10:39:08 AWX.verkko.local nrpe[3229]: INFO: SSL Socket Shutdown.For some reason, this particular NRPE service check gets randomly timed out because of a supposed SSL error.
Here is that service check on the server in question (/etc/nagios/nrpe.cfg):
command[check_updates]=/usr/lib64/nagios/plugins/check_updates --clean -t 120 -w 20 -c 30
I got the script from here: https://github.com/matteocorti/check_updates
This is really strange because, for example, right now I'm not getting any errors with the service, but fifteen minutes later I might. Any help on this would be greatly appreciated!
