Re: Executing Script between Failover

2011-12-03 Thread Willy Tarreau
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

Re: Executing Script between Failover

2011-11-24 Thread Baptiste
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

Re: Executing Script between Failover

2011-11-24 Thread Prasad Wani
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 >

Re: Executing Script between Failover

2011-11-24 Thread wsq003
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

Executing Script between Failover

2011-11-24 Thread Prasad Wani
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