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

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jbruyet
Posts: 235
Joined: Wed Dec 28, 2011 12:14 pm

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

Post 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
Last edited by jbruyet on Mon Jan 13, 2014 6:51 pm, edited 1 time in total.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRPE not working on Core 3.5.1 on FreeBSD 9.0

Post by slansing »

Can you post the service definition of one of your NRPE checks? Thanks!
jbruyet
Posts: 235
Joined: Wed Dec 28, 2011 12:14 pm

Re: NRPE not working on Core 3.5.1 on FreeBSD 9.0

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NRPE not working on Core 3.5.1 on FreeBSD 9.0

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
jbruyet
Posts: 235
Joined: Wed Dec 28, 2011 12:14 pm

Re: NRPE not working on Core 3.5.1 on FreeBSD 9.0

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRPE not working on Core 3.5.1 on FreeBSD 9.0

Post by slansing »

Awesome, let us know if you have issues defining extra commands in the nrpe.cfg.
Locked