Script to monitor https
pb
peterbaitz at yahoo.com
Tue May 15 15:54:46 UTC 2007
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 <linux_nic at smjkdgs.edu.my> 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
> Piranha-list at redhat.com
> 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
More information about the Piranha-list
mailing list