Page 1 of 1

CHECK_NRPE: Invalid packet version received from server.

Posted: Fri Jul 17, 2020 3:22 am
by gkrono
hello ?
I am getting error when I try to use NRPE to check disck space for a server

[root@localhost ~]# /usr/local/nagios/libexec/check_nrpe -H 10.22.28.128 -t 30 -c check_drivesize
CHECK_NRPE: Invalid packet version received from server.
CRITICAL X:\: 939.032GB/1.09TB used, X:\Stor\DATA11\: 1.022TB/1.09TB used, X:\Stor\DATA12\: 0.999TB/1.09TB used, X:\Stor\DATA13\: 0.998TB/1.09TB used, X:\Stor\DATA14\: 0.999TB/1.09TB used, X:\Stor\DATA21\: 0.997TB/1.09TB used, X:\Stor\DATA22\: 1TB/1.09TB used, X:\Stor\DATA23\: 0.999TB/1.09TB used, X:\Stor\DATA24\: 0.998TB/1.09TB used
[root@localhost ~]#

Re: CHECK_NRPE: Invalid packet version received from server.

Posted: Fri Jul 17, 2020 2:53 pm
by jbrunkow
This error could be caused by mismatched packet versions between your agent and server. The most notable change between NRPE version 2 and 3 is the packet size. You could force your plugin to use the old protocol with the -2 flag, or you could update your agent so that it can communicate with the latest version of check_nrpe.

Please refer to the following knowledge base articles for more detailed information on troubleshooting issues like these.
KB NRPE v3 compatibility
KB NRPE packet size