CHECK_NRPE issue after 5.7.1 upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tpwebb
Posts: 70
Joined: Thu Sep 01, 2016 2:21 am

CHECK_NRPE issue after 5.7.1 upgrade

Post by tpwebb »

Hello

I have recently upgraded to 5.7.1 after a pending state issue found in 5.7.0. I now have a new issue that gives the following message.

CHECK_NRPE: Invalid packet version received from server.

I do get the result of the query at the end of the message.

I have included the latest profile file from our system.
profile (2).zip
Regards
Terrence
You do not have the required permissions to view the files attached to this post.
veehexx
Posts: 46
Joined: Mon Jan 09, 2017 9:17 am

Re: CHECK_NRPE issue after 5.7.1 upgrade

Post by veehexx »

sounds like your using non-ssl communcations?
we see the same.

our default appears to be to use ssl but since we migrated to a new centos VM, our migrated/imported data started to get ssl errors.

manually running '/usr/local/nagios/libexec/check_nrpe -H HOSTNAME -n' (-n for no-ssl) shows your error even though it does return info.

for us, this is the nail in the coffin for nrpe. deployment & management of nsclient is a pain so i'm currently looking at moving to NCPA.

sorry i cant help, but just letting you know you're not alone!
nickap
Posts: 26
Joined: Wed Jun 26, 2019 9:43 am

Re: CHECK_NRPE issue after 5.7.1 upgrade

Post by nickap »

We had to add -2 to the check to resolve this.

Here is a quote from support:
Regarding, the issue with NRPE checks, please add a -3, for version 3 packets, argument to your check command, and let me know if the error is cleared.

Reference:
https://support.nagios.com/kb/article/n ... s-786.html
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: CHECK_NRPE issue after 5.7.1 upgrade

Post by cdienger »

Thanks the help,@nickap.

@veehexx, please test with the -2 and -3 options and let us know your results.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
tpwebb
Posts: 70
Joined: Thu Sep 01, 2016 2:21 am

Re: CHECK_NRPE issue after 5.7.1 upgrade

Post by tpwebb »

Hello
I have added -2 to my NRPE request on the command and it now works.
Thanks nickap for the solution.


Regards
Terrence
veehexx
Posts: 46
Joined: Mon Jan 09, 2017 9:17 am

Re: CHECK_NRPE issue after 5.7.1 upgrade

Post by veehexx »

cdienger wrote:Thanks the help,@nickap.

@veehexx, please test with the -2 and -3 options and let us know your results.
thanks to ssax in my 'sucessful migration - mysql issues' thread, our issue was with the DH key length. default seems to be 512, but need 2048 or higher.
since generating 2048 & deploying to clients, both -2 and -3 forced version work.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: CHECK_NRPE issue after 5.7.1 upgrade

Post by lmiltchev »

I am glad your issue has been resolved! Let us know if it is OK to close this topic. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
tpwebb
Posts: 70
Joined: Thu Sep 01, 2016 2:21 am

Re: CHECK_NRPE issue after 5.7.1 upgrade

Post by tpwebb »

Yes, please close this ticket.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CHECK_NRPE issue after 5.7.1 upgrade

Post by scottwilkerson »

tpwebb wrote:Yes, please close this ticket.
Great

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked