Page 1 of 1

[Soved] NRPE not working on Core 3.5.1 on FreeBSD 9.0

Posted: Fri Dec 27, 2013 7:24 pm
by jbruyet
Hey all, currently have Nagios running on a CentOS 6.3 server and everything is running good. I want to re-task that box so I'm trying to get Nagios running on a FreeBSD server, Nagios v3.5.1 and FreeBSD 9.0-RELEASE #0. All of my non-CHECK_NRPE checks are green but all of my CHECK_NRPE checks have the "CHECK_NRPE: Error - Could not complete SSL handshake" error. I read that this can happen if one SSL version is newer than the other but this looks pretty close:

Code: Select all

srvFreeNag:	OpenSSL 0.9.8q 2 Dec 2010
srvBackup:	OpenSSL 0.9.8o 01 Jun 2010
Anything else I should be looking at?

Thanks,

Joe B

Re: NRPE not working on Core 3.5.1 on FreeBSD 9.0

Posted: Mon Dec 30, 2013 10:20 am
by slansing
Can you post the service definition of one of your NRPE checks? Thanks!

Re: NRPE not working on Core 3.5.1 on FreeBSD 9.0

Posted: Tue Dec 31, 2013 12:04 am
by jbruyet
Hi slansing, here's a service definition:

Code: Select all

define service{
        use                     generic-service
        host_name               Backup
        service_description     sda1 Free Space
        check_command           check_nrpe2!check_sda1
        }
Thanks,

Joe B

Re: NRPE not working on Core 3.5.1 on FreeBSD 9.0

Posted: Thu Jan 02, 2014 11:34 am
by abrist
Just to interject here - have you looked at the nrpe troubleshooting doc - specifically section III? (the doc says "XI" but it is mostly relevant to both XI and Core)
http://assets.nagios.com/downloads/nagi ... utions.pdf

Re: NRPE not working on Core 3.5.1 on FreeBSD 9.0

Posted: Sun Jan 12, 2014 11:15 am
by jbruyet
I wound up reinstalling Nagios plugins and NRPE on one of the hosts and several checks turned from red to green. I need to go in and make some changes to the nrpe.cfg file to add in the additional hard drives and I'm pretty sure that'll do it. Thanks to all who stepped up to help out.

Thanks,

Joe B

Re: NRPE not working on Core 3.5.1 on FreeBSD 9.0

Posted: Mon Jan 13, 2014 9:54 am
by slansing
Awesome, let us know if you have issues defining extra commands in the nrpe.cfg.