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
Linux agent
Re: Linux agent
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
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
Re: Linux agent
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
http://library.nagios.com/library/produ ... inux-agent
Re: Linux agent
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?
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
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
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
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
- Contact:
Re: Linux agent
Did you add your XI server to the allowed_hosts (daemon) / only_from (xinetd) directive on the target?
Re: Linux agent
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.
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
Thanks for the tip! Let us know if you still need assistance on this.
Re: Linux agent
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
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