Hi,

On Tue, Feb 09, 2016 at 01:59:40PM -0800, Maciej Katafiasz wrote:
> Hi,
> 
> In our deployment we sometimes spin up a HAProxy container
> simultaneously with backends, and since they're registered the moment
> a container is spawned, they will be added to rotation immediately,
> before the process inside had a chance to start up. Because HAProxy
> starts up much faster, this inevitably leads to a deluge of alert
> emails about backends being DOWN.
> 
> Is there a way to make HAProxy only alert about backends being DOWN if
> they've been seen UP previously, or if they fail to come up within a
> certain time?

I've got this request about 10 years ago, I wanted to implement a server
option called "expect-down", then some users suggested that it could also 
be convenient to have a "start-down" option which would not mark the
servers up by default and which would automatically imply this. And in
the end, nothing was done.

I think that now that we have the ability to keep the servers state upon
reload, these features might be obsolete. Upon reload, you keep the
previous state and there's no alert. I'm not certain it's that convenient
in the case of a new server being deployed though.

Willy


Reply via email to