NRPE Install Error
Scott Ackerman
lists at scott-ackerman.com
Fri Jun 20 14:41:19 CEST 2008
Okay, now I think I am more confused than when I started.
When I run '/usr/local/nagios/libexec/check_nrpe -H localhost' on the
remote server I get the following:
'NRPE v2.12' which is what I would expect
however when I run '/usr/local/nagios/libexec/check_nrpe -H localhost -n' on
the remote server I get the following:
'CHECK_NRPE: Error receiving data from the daemon.'
-----Original Message-----
From: richard at quintinz.com [mailto:richard at quintinz.com] On Behalf Of
Richard Quintin
Sent: Friday, June 20, 2008 6:22 AM
To: Scott Ackerman
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE Install Error
Hi Scott,
This can be an annoying problem with NRPE.
First make sure NRPE works ok without ssl (using the -n switch):
On the host running the NRPE daemon do:
nrpe -n -d -c <config file>
On the Nagios host do:
check_nrpe -n -H <IP> -c <command> -a <args>
After that works, you'll need to check to make sure that
- NRPE is the same version on both hosts.
- OpenSSL libraries are the same version on both hosts.
After that, I don't know... For me the problem has been different SSL
versions almost every time. It's annoying enough that I'm considering
alternatives to NRPE.
Good luck! :)
On Fri, Jun 20, 2008 at 8:01 AM, Scott Ackerman <lists at scott-ackerman.com>
wrote:
> Shankar,
>
> thanks for the help. The nrpe daemon is running on the remote server.
> There were no ./configure problems on the remote server, and the only
> "warning" I received when I ran ./configure on the monitoring host was
> "checking for Kerberos include files... could not find include files"
>
> When I ran telnet from the monitoring host to the server I got the
> following:
>
> trying <ip address>
> connected to <ip address>
> escape character is '^}'.
> connection closed by foreign host.
>
> So it seems as if the ports are opened between the two. Firewall
> access is allowed between the two (obviously or telnet would not have
worked).
>
> But I am still stuck in the same spot witht the "CHECK NRPE: Error -
> Could not complete SSL handshake."
> ________________________________
> From: asam30 at gmail.com [mailto:asam30 at gmail.com]
> Sent: Friday, June 20, 2008 1:25 AM
> To: Scott Ackerman
> Subject: Re: [Nagios-users] NRPE Install Error
>
> Please make sure ./configure went properly and complied nrpe without
> any errors. Also check if the nrpe daemon running, ps -ef | grep nrpe
> or ps -ef
> | grep 5666
>
> from the nagios server, try
> telnet <ip-of-the-monitoring-host> 5666
>
> you can also check if the firewall access allow between the two
> servers(nagios and remote host).
>
> Hope this helps
>
> -Shankar
>
>
> On 6/20/08, Scott Ackerman <lists at scott-ackerman.com> wrote:
>>
>> I have successfully installed NRPE on the remote server (FC6 box). I
>> have run the check_nrpe "tests" to verify that everything is working
correctly.
>> On the monitoring server however (CentOS 5.1 box) when I run
>> "/usr/local/nagios/libexec/check_nrpe -H (IP address of remote
>> server), I get the following error:
>>
>> CHECK_NRPE: Error - Could not complete SSL handshake.
>>
>> the only "negative" reponse that I got when I ran ./configure was
>> "checking for Kerberos include files... could not find include files.
>> Sorry but I am new at this, but I am stumped at this point. The only
>> thing that the documentation says is what to check if you get a "timeout
error".
>>
>> Nagios v 3.02
>>
>> Scott Ackerman
>> 1212 Baker Street
>> Fort Collins, Colorado 80524
>> Office - (970) 689-3999
>> Cell - (970) 231-9035
>> Fax - (888) 290-2131
>> www.us-able.com
>>
>> "Design is not just what it looks like and feels like. Design is how
>> it works" - Steve Jobs
>>
>> ---------------------------------------------------------------------
>> ---- Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for just about anything
>> Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> 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
>
>
>
> --
> Shankar Asam
> ----------------------------------------------------------------------
> --- Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for just about anything
> Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> 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
>
--
Richard Quintin, DBA
Database & Application Administration
Virginia Tech
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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