Le mercredi 15 décembre 2010 07:29:23, Willy Tarreau a écrit :
> All 3 patches applied, thanks Cyril !
> Also, that was a good idea to think about the admin_rules. It took me
> some time to find the relation until I reminded the enable/disable buttons
> !

Yes ! And I'll maybe have to send an update because I realize the stats checks 
are incomplete : currently, I verify that the stats proxy is assigned to only 
one process. This is not enough if the other proxies are assigned to different 
processes.

Example :
global
  daemon
  nbproc 8

listen stats :8000
  bind-process 1
  mode http
  stats enable
  stats admin if LOCALHOST

listen http-in :80
  mode http
  server http 192.168.0.1:80

The idea is to check each proxy in the scope of the stats and compare their 
bind-process mask with the current stats proxy.

-- 
Cyril Bonté

Reply via email to