Am Mittwoch, 2. Juli 2008 08:12 schrieb [EMAIL PROTECTED]:
> Hi Michael,
>
> sorry for intercepting this thread.
>
> I only wanted to say hello,
> as I am one of the participants of your HB2/LVS class held the week before
> Xmas last year at Heinlein.
>
> Maybe as an apology a follow-on question on the subject.
>
> Can Perl Compatible Regexes be used (i.e. is the libpcre or so involved?)
> If I remember correctly, at least Apache relies on this lib.
> For a Perl nerd this would be highly welcome.
>
> Regards
> Ralph

hi,

basically the according line in the apache OCF script is:
$WGET $WGETOPTS $STATUSURL | tr '\012' ' ' | grep -Ei \"$TESTREGEX\"

I dont know if grep likes the perl regexp, but just it a try. Also read man 
grep.

If not, you still can rewrite this line in your personal apache OCF script. 
The script is located in /usr/lib/ocf/resource.d/heartbeat/

Greetings,


-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [EMAIL PROTECTED]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to