Hello,
Right now I have:
Listen stats :1936
stats enable
stats uri /stats
I also have a frontend bound to port 80.
Is it possible to get /stats to answer on port 80 as well but for only a
specific set of ip's? I only want it to answer when called from
Hi Alex,
configure your stat URL as usual, then you can protect it with an ACL:
http-request allow if { path /stats } { src 123.456.789.99 }
http-request deny if { path /stats }
cheers
On Thu, Jan 3, 2013 at 9:05 PM, DeMarco, Alex alex.dema...@suny.edu wrote:
123.456.789.99
, January 03, 2013 3:24 PM
To: DeMarco, Alex
Cc: haproxy@formilux.org
Subject: Re: stats question
Hi Alex,
configure your stat URL as usual, then you can protect it with an ACL:
http-request allow if { path /stats } { src 123.456.789.99 }
http-request deny if { path /stats }
cheers
On Thu, Jan 3, 2013
Cc: haproxy@formilux.org
Subject: Re: stats question
Hi Alex,
configure your stat URL as usual, then you can protect it with an ACL:
http-request allow if { path /stats } { src 123.456.789.99 }
http-request deny if { path /stats }
cheers
On Thu, Jan 3, 2013 at 9:05 PM, DeMarco
On Thu, Jan 03, 2013 at 10:29:46PM +0100, Baptiste wrote:
stats directives can only be setup into a backend section, which a
frontend is not by definition :)
stats directives can be setup in both backen and listen sections.
Exactly. In practice, stats directive in frontend almost always work
For a backend running in http mode what exactly do the following metrics
include?
10. dreq: denied requests - apparently only for FE. What does this include?
11. dresp: denied responses
12. ereq: request errors - What does this include?
13. econ: connection errors
Does the above include
6 matches
Mail list logo