<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Matt Wells wrote:<br>
<blockquote cite="mid3547eb108fe6e419ee7a21adcb6ba471@open.wells.vg"   type="cite">
  <meta http-equiv="Content-Type" content="text/html;">
  <meta content="Group-Office 2.13" name="GENERATOR">
By default now it compiles with SSL enabled.. at least it said so in
the configure file.<br>
  <blockquote   style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(34, 67, 127); border-width: 0pt 0pt 0pt 2px; margin: 0px 0px 0px 5px; padding: 0px 0px 0px 5px;"><font   face="verdana" size="2">----- Original Message -----<br>
    <b>Subject: </b>Re: [Nagios-users] NRPE SSL Error<br>
    <b>From:  </b>martin hudec <a class="moz-txt-link-rfc2396E" href="mailto:corwin@aeternal.net"><corwin@aeternal.net></a><br>
    <b>To: </b>"Matt Wells" <a class="moz-txt-link-rfc2396E" href="mailto:chroot@wells.vg"><chroot@wells.vg></a><br>
    <b>CC: </b><a class="moz-txt-link-abbreviated" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>
    <b>Date: </b>09-09-2005 11:51<br>
    </font><br>
    <br>
Hello,<br>
    <br>
On Fri, Sep 09, 2005 at 11:33:26AM -0700 or thereabouts, Matt Wells
wrote:<br>
> Martin thank you for such a fast reply. I compiled the v2 on the<br>
> server and copied the check_nrpe to the libexec dir. This is from<br>
> the same compile as the clients. Other than the check_nrpe does the<br>
> Nagios Server need anything else running that perhaps I've not
run? <br>
> The clients have the /usr/local/nagios/nrpe -c<br>
> /usr/local/nagios/nrpe.cfg -d for the client.<br>
> The clients are in /usr/local/nagios and within this folder is<br>
> nrpe<br>
> nrpe.cfg<br>
> libexec/<br>
> libexec/check_lots_of_checks_here<br>
    <br>
Well I am actually interested in way how was nrpe compiled (you said<br>
that all nrpe are from the same compile), so look for compile<br>
options.. This was exactly what I was missing (to enable ssl during<br>
configuration before compilation).. I am using FreeBSD, so I used<br>
WITH_SSL=yes as compile option for nrpe port. So check your operating<br>
system and its package system for any configurable options for nrpe<br>
package.<br>
    <br>
I am leaving from work, so I won't be online until morning. I hope my<br>
few lines will actually do some help.<br>
  </blockquote>
</blockquote>
Most of the SSL errors I get are related to the <br>
<br>
allowed_hosts<br>
<br>
option.  Check that your Nagios server IP address is on that line
(separated by commas).<br>
<br>
Also, on your nagios server, run the check_nrpe command as the nagios
user with exactly the same arguments as the Nagios server would have
and display the error to us.<br>
<br>
Cheers.<br>
rob.<br>
<br>
</body>
</html>