zabbix: remove conditions on zabbix configration
Rename host zabbix/zabbix.stg to zabbix01 Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
parent
aaf8fec811
commit
6461430ae3
1 changed files with 1 additions and 16 deletions
|
@ -488,26 +488,11 @@ backend fedmsg-raw-zmq-inbound-backend
|
|||
timeout connect 86400000
|
||||
server busgateway01 busgateway01:9941 weight 1 maxconn 16384
|
||||
|
||||
{% if env == "staging" %}
|
||||
frontend zabbix-frontend
|
||||
bind 0.0.0.0:10068
|
||||
default_backend zabbix-backend
|
||||
|
||||
backend zabbix-backend
|
||||
balance hdr(appserver)
|
||||
server zabbix.stg zabbix.stg:80 check inter 10s rise 1 fall 2
|
||||
{% endif %}
|
||||
# option httpchk GET /
|
||||
# http-check expect status 200,401,302
|
||||
{% if env == "production" %}
|
||||
frontend zabbix-frontend
|
||||
bind 0.0.0.0:10068
|
||||
default_backend zabbix-backend
|
||||
|
||||
backend zabbix-backend
|
||||
balance hdr(appserver)
|
||||
server zabbix zabbix:80 check inter 10s rise 1 fall 2
|
||||
# option httpchk GET /
|
||||
# http-check expect status 200,401,302
|
||||
{% endif %}
|
||||
server zabbix01 zabbix01:80 check inter 10s rise 1 fall 2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue