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

Reply via email to