Page 1 of 2
Linux agent
Posted: Mon May 23, 2011 4:12 am
by jlee
Hi,
I have installed the Nagios XI linux agent on one o my linux servers successfully.
However, in Nagios its gaves me this error:
"CHECK_NRPE: Error - Could not complete SSL handshake."
Any ideas what this means?
Also the agent did not ask me for a password during the install. is this normal?
Thanks,
James
Re: Linux agent
Posted: Mon May 23, 2011 6:50 am
by srrhd
You might not have pass the SSL argument before installation. Uninstall the agent then do a "make config" select SSL and then install it again.
Re: Linux agent
Posted: Mon May 23, 2011 12:34 pm
by mguthrie
If the target linux system is a RHEL or CentOS system you can use our installer script which does a lot of the initial configuration for you.
http://library.nagios.com/library/produ ... inux-agent
Re: Linux agent
Posted: Wed May 25, 2011 5:22 am
by jlee
Sorry I am not a linux expert.
How do I uninstall the agent?
Also I did use the installer script to install the agent. But its didnt ask me anything about SSL? Should it of done?
Re: Linux agent
Posted: Tue May 31, 2011 3:46 pm
by mguthrie
You "shouldn't" need to do anything with SSL if you installed the agent according to our documentation. Can you outline what you did to initially install the nrpe agent before using our install doc? I'm wondering if the first attempt is creating a conflict somewhere.
Re: Linux agent
Posted: Thu Jun 02, 2011 8:11 am
by jlee
To install the agent I followed this install guide:
http://assets.nagios.com/downloads/nagi ... _Agent.pdf
Thats all did.
Was there something else I had to do?
Thanks,
James
Re: Linux agent
Posted: Thu Jun 02, 2011 9:42 am
by tonyyarusso
Did you add your XI server to the allowed_hosts (daemon) / only_from (xinetd) directive on the target?
Re: Linux agent
Posted: Mon Jun 06, 2011 1:28 am
by jbmaliwat
I suggest that you try this installation step, because this is one that i did on installing the linux agent and it successfully monitored.
tar xzf linux-nrpe-agent-el4.tar.gz
cd linux-nrpe-agent-el4
./fullinstall
- and you will encounter a problem
"checking where the gettext function comes from... libc
configure: See
http://nagiosplugins.org/faq/compile/co ... rs_to_hang if this next part takes a long time
checking for redhat spopen problem..
And then:
*cd subcomponents
*cd nagiosplugins
*vi install
on the line of
time ./ configure
--enable-redhat-pthread-workaround ------------------------> add this after the word configure
and run the ./fullinstall again, and it is successfully installed.
*and now Im sure that you can now monitor your linux server without any errors.
Re: Linux agent
Posted: Mon Jun 06, 2011 12:51 pm
by mguthrie
Thanks for the tip! Let us know if you still need assistance on this.
Re: Linux agent
Posted: Sat Jun 18, 2011 5:32 pm
by lyle
I downloaded the recent Linux Agent, and have been installing successfully on several CentOS servers. My compliments....the packaged agent install just keeps getting easier and easier.
But on one Centos 5.4 64bit system, I hit this same SSL handshake problem. I followed the mod shown above, reinstalled, and it worked fine.
Kind of odd, so I thought I should report it.
...Lyle