Re: Script to monitor https

pb <[email protected]> Tue, 15 May 2007 08:54:46 -0700 (PDT)
Newsgroups gmane.linux.redhat.piranha
Message-ID <[email protected]>
Try stunnel

#!/bin/sh

SEND=$'GET / HTTP/1.0\r\n\r\n'
EXPECT="HTTP"

if echo "$SEND"|stunnel -c -r x.y.z.a:443 2>&1|grep -q
"$EXPECT";
then
        echo OK
else
        echo FAIL
fi




--- Linux Nic <[email protected]> wrote:

> Hi all,
> 
>     May I know is there any script to monitor HTTPS
> service ? Currently 
> me only able to monitor HTTP using the default
> monitoring script.
> 
> Thanks.
> 
> _______________________________________________
> Piranha-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/piranha-list
> 



       
____________________________________________________________________________________Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC