confused about SSL and NON-ssl on same server (nrpe)

Terry Davis terrybdavis at gmail.com
Fri Sep 12 21:48:24 CEST 2008


On Fri, Sep 12, 2008 at 2:42 PM, Julie <islandjewel at gmail.com> wrote:

> Hi,
>
> 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.
>
> 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.
>
> Any tips or help would be greatl appreciate..
>
> Thanks
> ~J~
>
>
Hi Julie,

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:

define command{
        command_name    check_nrpe_ssl
        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
        }

define command{
        command_name    check_nrpe_nossl
        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -n -c $ARG1$
        }

Thanks,
Terry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080912/1b797db9/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list