monitoring https using send / expect

Lon Hohberger lhh at redhat.com
Wed Sep 22 17:37:47 UTC 2004


On Wed, 2004-09-22 at 18:14 +0200, Sébastien BONNET wrote:
> > Can anyone tell me how to monitor HTTPS through LVS
> > using send / expect. 
> 
> The short answer is : you can't ! As HTTPS is HTTP over SSL, it's not a 
> cleartext protocol.
> 
> > I am currently monitoring http using send / expect.
> > Send string is "GET / HTTP/1.0\r\n\r\n" and expect
> > string is "HTTP".
> 
> You'll have to write an external script which uses lynx, wget or 
> whatever has SSL support.

E.g.

links -source https://www.host.com

You might be able to use stunnel as well, but it's probably easier to
use something that's already got SSL built in rather than multiple
utilities...

-- Lon





More information about the Piranha-list mailing list