NRPE V4 in ubuntu 20.04, does not work but NRPE V3 does ?
Posted: Wed Aug 11, 2021 10:25 am
Hi
I am running Nagios core V4.4.6,with the latest plugins. I have recently been upgrading some of my Ubuntu servers to 20.04 from 18.04, which seems to upgrade NRPE from V3.2.1 to V4, I can then see all the checks on that host start to fail.
On my Nagios Core Server each service shows "(No output on stdout) stderr: corrupted size vs. prev_size"
On the Client in the NRPE log messages in syslog I see "nrpe[5626]: Error: (use_ssl == true): Request packet version was invalid!
nrpe[5626]: Could not read request from client 192.168.20.220, bailing out...
nrpe[5626]: INFO: SSL Socket Shutdown"
Server IP is 192.168.20.220 for info
If I copy the nrpe binary V3 from an 18.04 server to /usr/sbin on the 20.04 server the issue is resolved.
I have the latest version of Core and the plugins so you would assume that it should be fine. I spent hours googling looking for a fix, but no joy.
Anyone have any ideas why this is happening with NRPE V4 ?
I am running Nagios core V4.4.6,with the latest plugins. I have recently been upgrading some of my Ubuntu servers to 20.04 from 18.04, which seems to upgrade NRPE from V3.2.1 to V4, I can then see all the checks on that host start to fail.
On my Nagios Core Server each service shows "(No output on stdout) stderr: corrupted size vs. prev_size"
On the Client in the NRPE log messages in syslog I see "nrpe[5626]: Error: (use_ssl == true): Request packet version was invalid!
nrpe[5626]: Could not read request from client 192.168.20.220, bailing out...
nrpe[5626]: INFO: SSL Socket Shutdown"
Server IP is 192.168.20.220 for info
If I copy the nrpe binary V3 from an 18.04 server to /usr/sbin on the 20.04 server the issue is resolved.
I have the latest version of Core and the plugins so you would assume that it should be fine. I spent hours googling looking for a fix, but no joy.
Anyone have any ideas why this is happening with NRPE V4 ?