AW: Windows Version of check_http with SSL support

Mohr James james.mohr at elaxy.com
Fri Oct 21 11:57:36 CEST 2005


Thanks for your quick reply!.

>> -----Ursprüngliche Nachricht-----
>> Von: nagios-users-admin at lists.sourceforge.net 
>> [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag 
>> von Andreas Ericsson
>> Gesendet: Mittwoch, 19. Oktober 2005 15:49
>> An: Nagios-users at lists.sourceforge.net
>> Betreff: Re: [Nagios-users] Windows Version of check_http 
>> with SSL support
>> 
>> Mohr James wrote:
>> > Hi All!
>> > 
>> > I downloaded CygwinPlugins1-3-1.zip from the Nagios 
>> Exchange and am 
>> > having problems with "check_http.exe --ssl".
>> > 
>> > We need to start check_http on a Windows 2000 machine in order to 
>> > check specific URLs on the Internet because the Nagios 
>> server is not 
>> > connected to the Internet, nor will it ever be allowed to 
>> be. I have 
>> > suggested using a Linux machine to connect to the 
>> Internet, but this 
>> > was blocked by my boss, so we have to use a Windows machine.
>> > 
>> 
>> It always amazes me that the super-incompetent are allowed 
>> to keep their jobs and that they nearly always get better 
>> pay than those who actually know what their doing.


ROTFL

I couldn't have said it better.


>> > We set up a new check command check_http_over_nrpe which 
>> connects to 
>> > the windows machine via NRPE and then starts check_http.exe. This 
>> > works fine until we want to use the --ssl/-S option. NRPE 
>> reports a 
>> > timeout and when I run check_http.exe on the Windows 
>> machine locally I 
>> > get this
>> > message:
>> > 
>> >     595 [main] check_http 2448 handle_exceptions: Exception:
>> > STATUS_ACCESS_VIOLATION
>> >    4167 [main] check_http 2448 open_stackdumpfile: Dumping 
>> stack trace 
>> > to check_http.exe.stackdump
>> > 
>> 
>> I think (but I'm not sure) that you can get this problem if 
>> the cygwin's openssl libraries are of a different version 
>> than the ones that the program in question was compiled 
>> with. Trust Windows to not use versioned symbols (that's the 
>> reason why service-packs are always several hundred megabytes large).

Hmmmm. The cygwin package comes with SSL libraries, so I would *hope* that they are the same version. However, one possibility is that the libraries are not being pulled from the current directory but somewher else.

<stack trace snipped>

>> 
>> A stack trace is only useful if its symbols are resolved. 
>> These numbers can mean just about anything and are highly 
>> dependent on where, exactly, in memory your program and the 
>> various libraries are loaded.

I've run into a few problems where I found the exact same stack trace in Google, which led to the solution. I was hoping that someone had seen this exact same problem before.

<SNIP>

>> You'll most likely run into similar (or the same) problem 
>> unless you compile them yourself (that is, if it is indeed a 
>> library version mismatch as I suspect).

I am having a problem with the Cygwin gcc. I cannot figure out how to specify the path to OpenSSL installation directory (c:\OpenSSL), each time it gets to check_http.c it barfs saying it cannot find certain includes. Any tips?


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list