Page 1 of 1

CHECK_NRPE: Invalid packet version received from server.

Posted: Thu Sep 24, 2020 4:35 am
by mccrakem
Hi

I have started noticing this on our Windows Servers
CHECK_NRPE: Invalid packet version received from server.

I have upgraded the NSClient Agent to what I think is the latest version
NSCP-0.5.2.35-x64.msi

But I still get the message

The only way to get the Windows systems to report correct is by editing the check_nrpe command to
$USER1$/check_nrpe -2 -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$

Adding the -2

Thanks

Re: CHECK_NRPE: Invalid packet version received from server.

Posted: Thu Sep 24, 2020 2:57 pm
by benjaminsmith
Hi,
The only way to get the Windows systems to report correct is by editing the check_nrpe command to
$USER1$/check_nrpe -2 -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
If you're running the later version of check_nrpe, you'll need to add this option since we've updated the TCP packet structure in version 4, and adding this will use the older packet types.

If you have to make the changes across of a number of hosts or services, the Bulk Mods tool is helpful here.

-- Benjamin

Reference:
https://support.nagios.com/kb/article/n ... s-786.html

Re: CHECK_NRPE: Invalid packet version received from server.

Posted: Fri Sep 25, 2020 9:14 am
by mccrakem
Hi Benjamin

Thanks I will just leave the -2 in there as its all working

thanks

Re: CHECK_NRPE: Invalid packet version received from server.

Posted: Fri Sep 25, 2020 12:21 pm
by scottwilkerson
mccrakem wrote:Hi Benjamin

Thanks I will just leave the -2 in there as its all working

thanks
Sounds good

Locking thread