Where to start!?
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
I assume even though this doc refers to nagios x it is still ok for nagios core?
Thanks
Sherri
Thanks
Sherri
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
So following the instructions - I ended up with an error: Checking for SSL headers... configure: error: Cannot find ssl headers
there were a few others that came back as no during the ./configure command - not if that information would help?
there were a few others that came back as no during the ./configure command - not if that information would help?
Re: Where to start!?
Although the doc is for XI, installing the NRPE daemon and plugins on the remote host is the same whether you are using Core or XI.
You can also refer to this doc
https://assets.nagios.com/downloads/nag ... e/NRPE.pdf
As for the error "cannot find ssl headers" run this command to install the corresponding dependencies and (re) ./configure afterwards.
If any further problems please let us know what Linux distro + version your are installing NRPE on so we can better assist.
You can also refer to this doc
https://assets.nagios.com/downloads/nag ... e/NRPE.pdf
As for the error "cannot find ssl headers" run this command to install the corresponding dependencies and (re) ./configure afterwards.
Code: Select all
yum install openssl-develBe sure to check out the Knowledgebase for helpful articles and solutions!
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
Oh sorry about that - it was earlier in my posts. I am using Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-98-virtual x86_64)
I tried both apt-get and yum install openssl-devel and got the following error:
root@nagios:/tmp/nrpe-2.15# yum install openssl-devel
Setting up Install Process
No package openssl-devel available.
Nothing to do
I tried both apt-get and yum install openssl-devel and got the following error:
root@nagios:/tmp/nrpe-2.15# yum install openssl-devel
Setting up Install Process
No package openssl-devel available.
Nothing to do
Re: Where to start!?
My bad for missing that info in your earlier post - I assumed you were running Cent Os. The Ubuntu equivalent to 'openssl-devel' is 'libssl-dev' so you'll want to run:
Code: Select all
apt-get install libssl-devBe sure to check out the Knowledgebase for helpful articles and solutions!
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
No - though I am wondering if it would have been easier... 
So now I am getting the following error (which may or may not matter)
checking for SSL headers... SSL headers found in /usr
checking for SSL libraries... configure: error: Cannot find ssl libraries
So now I am getting the following error (which may or may not matter)
checking for SSL headers... SSL headers found in /usr
checking for SSL libraries... configure: error: Cannot find ssl libraries
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
add to that - I did do a apt-get install gcc
since it said it was missing.
since it said it was missing.
Re: Where to start!?
Alright, the condensed version of the following instructions are here http://askubuntu.com/questions/133184/n ... -libraries
You'll have to use 'apt-file' to search for where these SSL headers reside and I don't think this is installed on Ubuntu by default. So, run the following:
then run
Now you should be ready to actually use apt-file, like so:
You should see something similar to this:
Now you can reconfigure using the '--with-ssl-lib' option (run from the nrpe-* directory)
Thanks for your patience, let us know of the outcome.
You'll have to use 'apt-file' to search for where these SSL headers reside and I don't think this is installed on Ubuntu by default. So, run the following:
Code: Select all
apt-get install apt-file -yCode: Select all
apt-file updateCode: Select all
apt-file search libssl |grep libssl-dev Code: Select all
libssl-dev: /usr/lib/i386-linux-gnu/libssl.a
libssl-dev: /usr/lib/i386-linux-gnu/libssl.so
libssl-dev: /usr/lib/i386-linux-gnu/pkgconfig/libssl.pc
libssl-dev: /usr/share/doc/libssl-dev/changelog.Debian.gz
libssl-dev: /usr/share/doc/libssl-dev/changelog.gz
libssl-dev: /usr/share/doc/libssl-dev/copyrightCode: Select all
./configure --with-ssl-lib=/usr/lib/i386-linux-gnu/Be sure to check out the Knowledgebase for helpful articles and solutions!
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
So I think I made progress 
Everything went as described. I tried to do the following and it failed:
root@nagios:/usr/local/nagios/libexec# ./check_nrpe -H localhost
connect to address 127.0.0.1 port 5666: Connection refused
connect to host localhost port 5666: Connection refusedroot@nagios:/usr/local/nagios/libexec#
I did make sure that I had added the IP of our nagios server as described....
I also assume I need to do the same process on our nagios server?
Everything went as described. I tried to do the following and it failed:
root@nagios:/usr/local/nagios/libexec# ./check_nrpe -H localhost
connect to address 127.0.0.1 port 5666: Connection refused
connect to host localhost port 5666: Connection refusedroot@nagios:/usr/local/nagios/libexec#
I did make sure that I had added the IP of our nagios server as described....
I also assume I need to do the same process on our nagios server?
Re: Where to start!?
Is this from the Nagios server? You'll want to change 'localhost' to the remote client machine's IP address.root@nagios:/usr/local/nagios/libexec# ./check_nrpe -H localhost
connect to address 127.0.0.1 port 5666: Connection refused
connect to host localhost port 5666: Connection refusedroot@nagios:/usr/local/nagios/libexec#
Former Nagios Employee