Hi Prasad,
On Thu, Nov 24, 2011 at 05:13:37PM +0530, Prasad Wani wrote:
> Thanks for the quick reply. But Yes for the timing I am doing the same.
> Written the script to get the status of server. I though if I can do it
> with haproxy.
No, haproxy cannot execute anything as it chroots itself and
t can get status of servers by
> `curl http://your.haproxy.com:8080/admin_status;cvs`
> Then you can send messages to anywhere you like.
>
>
> From: Prasad Wani
> Date: 2011-11-24 19:12
> To: haproxy
> Subject: Executing Script between Failover
> Hi,
> While configurin
this script can get status of servers by
> `curl http://your.haproxy.com:8080/admin_status;cvs`
> Then you can send messages to anywhere you like.
>
>
> *From:* Prasad Wani
> *Date:* 2011-11-24 19:12
> *To:* haproxy
> *Subject:* Executing Script between Failover
>
One another way would be:
Use crontab to start a script, this script can get status of servers by `curl
http://your.haproxy.com:8080/admin_status;cvs`
Then you can send messages to anywhere you like.
From: Prasad Wani
Date: 2011-11-24 19:12
To: haproxy
Subject: Executing Script between
Hi,
While configuring the Failover between two machine does HaProxy has any
future to execute the Script Just after the Failover and before 2nd server
start serving request.
What I needed here Whenever Failover happens I want to call Monitoring URL
and it will be called every time whenever failov
5 matches
Mail list logo