Re: Script to monitor https
"Mohamed HADROUJ (Gmail)" <[email protected]> Tue, 15 May 2007 21:36:56 +0000
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
Thank you all for your help :) could you please show me how to call this script from the lvs.conf file ? Thanks On 5/15/07, Herta Van den Eynde <[email protected]> wrote: > > On 15/05/07, 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. > > If you're referring to the piranha check script, here's one we used: > > #!/bin/bash > TEST=`/usr/bin/lynx -head -dump https://$1 2>/dev/null | grep -c > "HTTP/1.1 200 OK" ` > if [ "$TEST" == "1" ] > then > echo "OK" > else > echo "FAIL" > fi > > Kind regards, > > Herta > > _______________________________________________ > Piranha-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/piranha-list > _______________________________________________ Piranha-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/piranha-list