Re: example of agent-check ?

2014-01-12 Thread PiBa-NL
Ok seems my trouble came from using "balancestatic-rr". Actually when using the unix socket to set a weight to 50% it tells: "Backend is using a static LB algorithm and only accepts weights '0%' and '100%'." So that explains my issue. Abd the manual states "Each server is used in t

Re: example of agent-check ?

2014-01-11 Thread Steve Howard
> > On 1/11/14, Malcolm Turnbull wrote: > > Sorry only just got around to looking at this and updating my blog entry: > > > > Yes the important bit missing was "agent-check" > > > > But my testing with Dev21 seems to bring the servers back fine with > > any percentage reading i.e. 10% 75% etc

Re: example of agent-check ?

2014-01-11 Thread PiBa-NL
Wierd.. Attached the C# 'program' i used as an agent for a small test(compile it with csc.exe).. maybe something is wrong with my test implementation.? When i press ` (the key besides the 1) it sends 0% and in the haproxy stats the server is shown as "drain". When i then press 9 for 90% is st

Re: example of agent-check ?

2014-01-11 Thread Tim Prepscius
I have tried to unsubscribe from this list through Unsubscribe from the list : haproxy+unsubscr...@formilux.org many times. does this unsubscribe work? Also, I tried to send this message to the ha-proxy news group, but it got bounced back claiming google's ip is a spam bot. Something is not righ

Re: example of agent-check ?

2014-01-11 Thread Malcolm Turnbull
Sorry only just got around to looking at this and updating my blog entry: Yes the important bit missing was "agent-check" But my testing with Dev21 seems to bring the servers back fine with any percentage reading i.e. 10% 75% etc. Please let me know if anyone else is having an issue, thanks.

Re: example of agent-check ?

2013-12-27 Thread PiBa-NL
Simon Drake schreef op 27-12-2013 17:07: / / /Would it be possible to post an example showing the correct haproxy config to use with the agent-check. / /By the way I saw the mailing list post recently about the changes to the agent-check, using state and percentage, and I think that the rig

example of agent-check ?

2013-12-27 Thread Simon Drake
Hi Guys, I have been looking at the agent-check functionality. I started out using windows agent, trunked haproxy code and the config example from Malcolm Turnbull here : http://blog.loadbalancer.org/open-source-windows-service-for-reporting-server-load-back-to-haproxy-load-balancer-feedback-agen