Xymon Mailing List Archive search

Monitoring HTTPS sites

list Jewel Makda
Thu, 20 Dec 2012 09:42:52 -0600
Message-Id: <user-c940cef6d64f@xymon.invalid>

The output I get doesn't help me. It says:


The aptitude command isn't recognized on my system.   When I try to 
install the packages (source foo) and (build-dep xymon) or (build-dep 
foo) it says they cannot be found.


I may have to abandon this project. Every solution that keeps getting 
thrown my way is adding more complexity and it appears I am not getting 
ahead. I appreciate everyone's efforts in trying to help me.

Jewel

On 12/20/2012 9:28 AM, Novosielski, Ryan wrote:
Doing a dpkg -L on the SSL packages one by one should tell you where those files. dpkg -l libssl (I think that was the name of one) | grep "\.h" should get you somewhere.

In place of the apt-cache command, you might try aptitude. Which is the primary command for package management is a bit in flux at the moment on Ubuntu.


----- Original Message -----
From: Jewel Makda [mailto:user-f94a3a1b7030@xymon.invalid]
Sent: Thursday, December 20, 2012 10:23 AM
To: xymon at xymon.com <xymon at xymon.com>
Subject: Re: [Xymon] Monitoring HTTPS sites

I am not able to determine where the SSL headers are on my system.  The
apt-file command doesn't work saying I need to install it yet when I try
it says the package doesn't exist. I have tried to run the ./configure
command using the following paths to point to where I think the ssl
headers are but I always get an error when I run make and make install.

Paths I have used in my ./configure command:
/etc/ssl
/usr/include/openssl
/usr/lib/ssl/misc
/usr/local
/usr/src
/usr/lib

The errors I am getting are:
undefined reference to 'SSLv2_client_method'
make[1]: *** [xymonnet] Error 1
make: *** [xymonnet-build] Error 2

I have to run the ./configure command with paths to the pcreinclude and
pcrelib or else it won't find them - same for the OpenSSL.

I am worried I might mess up my current setup since Xymon is working
well running on SSL.  It just not able to monitor other https sites.

Jewel

On 12/19/2012 4:58 PM, Tim McCloskey wrote:
Can you actually 'su - ' to root on this box?  I suspect that your environment does not have proper path and lib path statements.  If you can't su to root then most likely you WILL need to provide the path to the SSL goodies.  You will need to see where the libraries and include files are installed.  Usually /usr/local/ssl, might be /usr/local/openssl on your system.  Use whatever tools you have to find the install location for these packages and add the flags as needed.

apt-file list libssl-dev
apt-file list libssl0.9.8


--sslinclude DIRECTORY   : Specify location of OpenSSL include files
--ssllib DIRECTORY       : Specify location of OpenSSL libraries


./build/ssl.sh shows the search patterns.

Good Luck,

Tim


From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] on behalf of Jewel Makda [user-f94a3a1b7030@xymon.invalid]
Sent: Wednesday, December 19, 2012 2:45 PM
To: xymon at xymon.com
Subject: Re: [Xymon] Monitoring HTTPS sites

When I run (sudo ./configure.server --pcreinclude /usr/include --pcrelib /usr/lib)  I get the following: "OpenSSL include or library-files not found.


Jewel
On 12/19/2012 4:40 PM, Tim McCloskey wrote:


Good, you've got the required SSL stuff.  You should be able to perform a clean build of Xymon now.

Give it a go and let us know how it goes :)


From: Jewel Brueggeman-Makda [user-f94a3a1b7030@xymon.invalid]

Sent: Wednesday, December 19, 2012 2:37 PM

To: Tim McCloskey

Cc:

Subject: Re: [Xymon] Monitoring HTTPS sites


xymon at Xymon:~$ apt-cache search libssl | grep SSL

libssl-dev - SSL development libraries, header files and documentation

libssl-doc - SSL development documentation documentation

libssl1.0.0 - SSL shared libraries

libssl0.9.8 - SSL shared libraries

Attachments (1)