Email alerts

2013-11-04 Thread Ben Cabot
Hi All, I've been looking into sending email alerts from HAProxy and have written a short blog on what I found with a few a few simple examples : http://blog.loadbalancer.org/3-ways-to-send-haproxy-health-check-email-alerts/ If anyone has any thoughts ,suggestions or improvements please let me

url32+src - like base32+src but whole url including parameters

2013-11-04 Thread Neil - HAProxy List
Hello I have a need to limit traffic to each url from each source address. much like base32+src but the whole url including parameters (this came from looking at the recent 'Haproxy rate limit per matching request' thread) attached is patch that seems to do the job, its a copy and paste job of

Re: Haproxy rate limit per matching request

2013-11-04 Thread Neil - HAProxy List
Hello Chris and I followed this example but found that it limits by url but for all users. that might be what you want in a slashdotting but its not what we want for individual users falling asleep with nose on f5(reload) key we looked at base32+src rather than url but that excludes the url

Re: Is it possible to have a minimum session time for HAPRoxy sticky sessions

2013-11-04 Thread Baptiste
Hi Duncan, You should use a a consistent hash to avoid dispatching your traffic each time a server fails or come back. In your backend declaration: hash-type consistent Baptiste On Fri, Nov 1, 2013 at 11:17 AM, Duncan Mason dma...@thinkanalytics.com wrote: We have HAProxy successfully

Re: using ACLs with rspadd

2013-11-04 Thread Baptiste
Hi Will, Your using a response rewrite statement while matching a request information. The request is not in HAProxy anymore when the rspi* functions are processed by HAProxy. If you want to do this, then I would do a use-backend with the app-api acl, then in this backend, run the rspi*

Re: Haproxy rate limit per matching request

2013-11-04 Thread Maria WIktoria
Hi guys, I was just working on something very similar, however a bit more complex than you're considering: For given requests: GET /fileid=123id2=1 GET /fileid=476id2=1 GET /fileid=111id2=1 GET /fileid=111id2=1 GET /fileid=111id2=2 GET /fileid=476id2=2 I would like to reject the

Re: PATCH: Add ability to select HASH function amongst (SDBM/DJB2/WT6)

2013-11-04 Thread Willy Tarreau
Hello Bhaskar, On Mon, Nov 04, 2013 at 03:35:20PM -0500, Bhaskar Maddala wrote: Hello, Apologies for the delay in replying. I just got back to this today and will spend time during this week. I need a couple of clarifications to make sure I understood what you say before I go about making