On Thu, Sep 22, 2011 at 10:24 AM, İbrahim Ercan <ibrahim.er...@engineer.com> wrote: > Hi, I am new haproxy user. I wonder that is there a way to make haproxy send > notifications when a server down or up? > Thank you for interested in...
Hi Ibrahim, Use Nagios or a similar monitoring tool. These tools can either monitor your servers directly, or even monitor the server status via HAProxy using it's web stats interface, or log file etc. Nagios can then alert via email, sms, etc. You can even configure actions to take when a server goes down (restart httpd for example). http://www.nagios.org/ There may be simpler tools more well-suited to your needs, I know of another named Monit. But my experience is mostly with Nagios. http://mmonit.com/monit/ The point is that I would look for a monitoring tool to use for sending alerts.