Linux agent

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jlee
Posts: 38
Joined: Fri May 13, 2011 11:23 am

Linux agent

Post 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
User avatar
srrhd
Posts: 131
Joined: Thu May 19, 2011 6:15 am

Re: Linux agent

Post 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.
Configuration:
Nagios XI 2014R2.5
manually upgraded on 64bits CentOS 6
with nothing extra, no gnome, no proxy, no SSL
Add-ons: Hypermap, Minemap, Ping Action, Traceroute Action, Network Replay, graph Explorer, Latest Alert
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Linux agent

Post 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
jlee
Posts: 38
Joined: Fri May 13, 2011 11:23 am

Re: Linux agent

Post 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?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Linux agent

Post 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.
jlee
Posts: 38
Joined: Fri May 13, 2011 11:23 am

Re: Linux agent

Post 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
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA

Re: Linux agent

Post by tonyyarusso »

Did you add your XI server to the allowed_hosts (daemon) / only_from (xinetd) directive on the target?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
jbmaliwat
Posts: 64
Joined: Fri Apr 15, 2011 12:21 am

Re: Linux agent

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Linux agent

Post by mguthrie »

Thanks for the tip! Let us know if you still need assistance on this.
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

Re: Linux agent

Post 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