Script to monitor https
Herta Van den Eynde
herta.vandeneynde at gmail.com
Wed May 16 22:09:43 UTC 2007
On 15/05/07, Mohamed HADROUJ (Gmail) <hadrouj at gmail.com> wrote:
> Thank you all for your help :)
> could you please show me how to call this script from the lvs.conf file ?
> Thanks
The easiest way is to use the gui tool. Cf. the Edit Monitoring
Scripts Subsection on
http://www.redhat.com/docs/manuals/csgfs/browse/rh-cs-en/s1-piranha-virtservs.html
Kind regards,
Herta
P.S. Postings are easier to read if you use bottom-posting.
>
>
> On 5/15/07, Herta Van den Eynde < herta.vandeneynde at gmail.com> wrote:
> >
> > On 15/05/07, 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.
> >
> > 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
More information about the Piranha-list
mailing list