Re: Executing Script between Failover

From: wsq003 <wsq003#sina.com>
Date: Thu, 24 Nov 2011 18:58:40 +0800

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 Failover 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 failover happens. URL is sending alert to intimate that Failover happen.

--
Prasad S. Wani Received on 2011/11/24 11:58

This archive was generated by hypermail 2.2.0 : 2011/11/24 12:15 CET