haproxy: fix issue with non iad2 proxies
Turns out zabbix is only in iad2, so we need to not set it up on non iad2 proxies. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
a60ca7159f
commit
af8f9531a9
1 changed files with 2 additions and 1 deletions
|
@ -478,6 +478,7 @@ backend fedmsg-raw-zmq-inbound-backend
|
|||
timeout connect 86400000
|
||||
server busgateway01 busgateway01:9941 weight 1 maxconn 16384
|
||||
|
||||
{% if 'iad2' in inventory_hostname %}
|
||||
frontend zabbix-frontend
|
||||
bind 0.0.0.0:10068
|
||||
default_backend zabbix-backend
|
||||
|
@ -485,4 +486,4 @@ frontend zabbix-frontend
|
|||
backend zabbix-backend
|
||||
balance hdr(appserver)
|
||||
server zabbix01 zabbix01:80 check inter 10s rise 1 fall 2
|
||||
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue