Am Mittwoch, 6. August 2008 10:47 schrieb Franck Huet:
> Hi,
>
> I did wget manualy and after each one, I get the prompt:
>
> [EMAIL PROTECTED] ~]#  sh -c wget -O- -q -L --bind-address=127.0.0.1
> http://192.168.4.3:80 | tr '\012' ' '| grep -Ei "</ *body
> *>[[:space:]]*</ *html *>" >/dev/null
> [EMAIL PROTECTED] ~]#
> [EMAIL PROTECTED] ~]#  sh -c wget -O- -q -L --bind-address=127.0.0.1
> http://192.168.4.3:80 | tr '\012' ' '| grep -Ei "</ *body
> *>[[:space:]]*</ *html *>" >bla
> [EMAIL PROTECTED] ~]# cat  bla
> [EMAIL PROTECTED] ~]#     => file is empty
> [EMAIL PROTECTED] ~]#  sh -c wget -O- -q -L --bind-address=127.0.0.1
> http://192.168.4.3:8000 | tr '\012' ' '| grep -Ei "</ *body
> *>[[:space:]]*</ *html *>" >bla
> [EMAIL PROTECTED] ~]# cat  bla
> [EMAIL PROTECTED] ~]#     => file is empty
> [EMAIL PROTECTED] ~]#  sh -c wget -O- -q -L --bind-address=127.0.0.1
> http://192.168.4.3:8000 | tr '\012' ' '| grep -Ei "</ *body
> *>[[:space:]]*</ *html *>" >/dev/null
>
> A question :  apache is listening on port 8000, but the wget launched by
> heartbeat try on 80. Can I modify it somewhere ?

Yes, if you use version 2 of heartbeat (crm=on).
Perhaps you also take a took into the resource agent of apache. It is a bash 
script and the wget command line is hard coded there.
-- 
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