<div dir="ltr">On Fri, Sep 12, 2008 at 2:42 PM, Julie <span dir="ltr"><<a href="mailto:islandjewel@gmail.com">islandjewel@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi,<br><br>Trying to run a configuration with mostly nrpe using SLL but about a dozen of the boxes are older and internal, but WITHOUT openssl. nrpe compiles fine, but I am confused about how I should be setting up my main server so most of the hosts are using the normal ssl nrpe and these dozen will use non-ssl. There must be an easy way without lots of editing - I hope.<br>

<br>I did verify everything - check_nrpe -n some-host returns and fails if I leave off -n. Then all the other hosts work fine in ssl mode.<br><br>Any tips or help would be greatl appreciate..<br><br>Thanks<br>~J~<br></div>

<br></blockquote></div><br>Hi Julie,<br><br>If I am tracking what you are saying, you want your nagios server to be able to talk to both SSL and non-SSL NRPE agents.  If that's the case, simply create two commands and use the non-SSL where appropriate:<br>
<br>define command{<br>        command_name    check_nrpe_ssl<br>        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$<br>        }<br><br>define command{<br>        command_name    check_nrpe_nossl<br>        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -n -c $ARG1$<br>
        }<br><br>Thanks,<br>Terry<br></div>