Page 3 of 3
Re: NRPE with Smoothwall
Posted: Thu Jun 21, 2012 9:20 am
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
Re: NRPE with Smoothwall
Posted: Thu Jun 21, 2012 10:48 am
by lmiltchev
I am not sure if this will help but I found this thread:
http://askubuntu.com/questions/133184/n ... -libraries
Re: NRPE with Smoothwall
Posted: Thu Jun 21, 2012 1:05 pm
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?
Re: NRPE with Smoothwall
Posted: Thu Jun 21, 2012 1:08 pm
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
Re: NRPE with Smoothwall
Posted: Thu Jun 21, 2012 1:11 pm
by lmiltchev
Let's hope we are moving to the right direction!

Let us know how it went.
Re: NRPE with Smoothwall
Posted: Thu Jun 21, 2012 1:31 pm
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.

Re: NRPE with Smoothwall
Posted: Thu Jun 21, 2012 3:36 pm
by lmiltchev
I'm glad I could help!