NRPE with Smoothwall

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
samton99
Posts: 45
Joined: Wed Jun 13, 2012 9:53 am

Re: NRPE with Smoothwall

Post by samton99 »

As a test can I do a re-installation of nrpe with ssl support on the nagios server? I have ubuntu 12.04, how would i be able to do this, if so? Every time I tried to install nrpe with default setting of installation it would give me an error during the nrpe installation related to ssl. This might be an easier option then trying to figure out what the issue is with the smoothwall nrpe installation.

thanks
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRPE with Smoothwall

Post by lmiltchev »

I am not sure if this will help but I found this thread:

http://askubuntu.com/questions/133184/n ... -libraries
Be sure to check out our Knowledgebase for helpful articles and solutions!
samton99
Posts: 45
Joined: Wed Jun 13, 2012 9:53 am

Re: NRPE with Smoothwall

Post by samton99 »

OK. I am running into the same issue. After downloading nrpe and unzipping it.

I then ran
./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib/x86_64-linux-gnu

I go the following error
checking for type of socket size... size_t
checking for SSL headers... configure: error: Cannot find ssl headers


Then I read the link you gave and searched for the ssl lib location with
apt-file search libssl | grep libssl-dev

I got this result
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/copyright

So then I changed the location of the lib file location and ran this command
./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib/i386-linux-gnu

I get the same error
checking for type of socket size... size_t
checking for SSL headers... configure: error: Cannot find ssl headers


Any ideas?
samton99
Posts: 45
Joined: Wed Jun 13, 2012 9:53 am

Re: NRPE with Smoothwall

Post by samton99 »

never mind I was missing the following file
apt-get install libssl-dev

then I ran the command
./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib/i386-linux-gnu


and it has installed

now will try to monitor the smoothwall and see what the results are
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRPE with Smoothwall

Post by lmiltchev »

Let's hope we are moving to the right direction! :) Let us know how it went.
Be sure to check out our Knowledgebase for helpful articles and solutions!
samton99
Posts: 45
Joined: Wed Jun 13, 2012 9:53 am

Re: NRPE with Smoothwall

Post by samton99 »

Success!

The mod that was installed on the smoothwall requires ssl. Makes sense, once you think about it because it is a firewall.

I wanted to thank for your help.

:D
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRPE with Smoothwall

Post by lmiltchev »

I'm glad I could help!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked