Page 2 of 3

Re: Monitoring of Linux Host--Could not complete SSL handsha

Posted: Fri Oct 06, 2017 8:58 am
by mcapra
You might try following the official documentation:
https://assets.nagios.com/downloads/nag ... _Agent.pdf

Here's some that includes the stock Nagios plugins as well:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

I realize the title says "Nagios XI", but much of the same steps are valid for Nagios Core.

Re: Monitoring of Linux Host--Could not complete SSL handsha

Posted: Fri Oct 06, 2017 10:05 am
by kyang
Thanks @mcapra!

He's right, try following our official documentation if you're going to monitor 100 Linux servers.
It should work just fine, but if not you could create another thread.

Glad to hear it's working though! Do you have any more questions or can we close this thread?

Re: Monitoring of Linux Host--Could not complete SSL handsha

Posted: Mon Nov 06, 2017 4:39 am
by amitgupta19
@mcapra

I tried to follow the steps mentioned in the Knowledge Base Article.

But getting the below Error:
[trathi@xxxxxxx nrpe-3.2.1]$ sudo make install
cd ./src/; make install
make[1]: Entering directory `/tmp/nrpe-3.2.1/src'
make install-plugin
make[2]: Entering directory `/tmp/nrpe-3.2.1/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
/usr/bin/install: cannot stat `check_nrpe': No such file or directory
make[2]: *** [install-plugin] Error 1
make[2]: Leaving directory `/tmp/nrpe-3.2.1/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/tmp/nrpe-3.2.1/src'
make: *** [install] Error 2
[trathi@xxxxxxx nrpe-3.2.1]$


Please Suggest what to do?

Re: Monitoring of Linux Host--Could not complete SSL handsha

Posted: Mon Nov 06, 2017 5:10 pm
by kyang
@amitgupta19,

Are you only trying to download the plugin? What OS are you downloading NRPE on?

Did you download the Prerequisites?

Re: Monitoring of Linux Host--Could not complete SSL handsha

Posted: Tue Nov 07, 2017 5:08 am
by amitgupta19
I am trying to monitor the remote system which is installed with "Oracle Linux".

Can you tell me that do i need to install the following as per the links in the previous reply from mcapra.
1) Install the NRPE Agent.
2) Install the Nagios Plugin.

Is the above 2 sufficient to monitor the Linux Server?

Re: Monitoring of Linux Host--Could not complete SSL handsha

Posted: Tue Nov 07, 2017 12:16 pm
by kyang
Yes, if you wanted to use the Nagios Plugins with the NRPE agent to monitor Oracle Linux.

Here's the guide for installing NRPE on Oracle Linux.
https://support.nagios.com/kb/article.p ... acle_Linux

Re: Monitoring of Linux Host--Could not complete SSL handsha

Posted: Tue Nov 07, 2017 12:23 pm
by amitgupta19
i am able to install the Nagios Plugin Successfully

But when i try to install the NRPE it is giving the following Error:

[XXXXX@labwlap1 nrpe-3.2.1]$ sudo make install
cd ./src/; make install
make[1]: Entering directory `/tmp/nrpe-3.2.1/src'
make install-plugin
make[2]: Entering directory `/tmp/nrpe-3.2.1/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
/usr/bin/install: cannot stat `check_nrpe': No such file or directory
make[2]: *** [install-plugin] Error 1
make[2]: Leaving directory `/tmp/nrpe-3.2.1/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/tmp/nrpe-3.2.1/src'
make: *** [install] Error 2

Re: Monitoring of Linux Host--Could not complete SSL handsha

Posted: Tue Nov 07, 2017 5:14 pm
by cdienger
It looks like you may have missed the make all step. Follow https://support.nagios.com/kb/article.p ... acle_Linux again making sure run all of the commands in the order listed.

Re: Monitoring of Linux Host--Could not complete SSL handsha

Posted: Wed Nov 08, 2017 8:54 am
by amitgupta19
I have run the commands in the same order as mentioned in the URL.

Please find attached the command list along with the error.

Re: Monitoring of Linux Host--Could not complete SSL handsha

Posted: Wed Nov 08, 2017 11:34 am
by cdienger
That appears to have worked. No errors are seen this time when the sudo make install command was run.