Page 1 of 1

check_nrpe error

Posted: Thu Feb 25, 2016 1:26 am
by harsha.s.aryan
Hi,

i am getting error in nrpe
from server if i run check_nrpe -H client IP error
CHECK_NRPE: Error - Could not complete SSL handshake.

Re: check_nrpe error

Posted: Thu Feb 25, 2016 10:53 am
by bwallace
Run through the steps listed in section three of this doc:
https://assets.nagios.com/downloads/nag ... utions.pdf

*Although the doc is for Nagios XI, this will still apply to Nagios Core*

Retest, and let us know the results, thanks.

Re: check_nrpe error

Posted: Thu Feb 25, 2016 8:48 pm
by harsha.s.aryan
Hi,

Thank you for the update but i have already tryed all basic trouble shooting and still same issue.
Please do let me know if you want any copy of cfg files

Re: check_nrpe error

Posted: Thu Feb 25, 2016 9:12 pm
by Box293
You will need to share what commands you have executed as per the document along with the output generated by the commands.

Re: check_nrpe error

Posted: Thu Feb 25, 2016 9:17 pm
by harsha.s.aryan
as per document i have added allow host in nrpe.cfg

allowed_hosts=nagios server ipin client machin nrpe.cfg file and restarted service as its ubuntu and from server i am unable to get output.

Re: check_nrpe error

Posted: Fri Feb 26, 2016 11:20 am
by tgriep
Can you login as root to your server, run the following commands and post the output?

Code: Select all

ps -ef
netstat -an |grep 5666
/usr/local/nagios/bin/nrpe
What version of Ubuntu are you running?
Are you running the NRPE agent as a daemon or under xinetd?
Is the firewall allowing inbound port 5666?