zabbix: Add configuration for zabbix prod to haproxy

Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
David Kirwan 2023-11-07 07:48:32 +00:00
parent c455c1b635
commit d7b20fa114
No known key found for this signature in database
GPG key ID: A5893AB6474AC37D

View file

@ -493,6 +493,19 @@ frontend zabbix-frontend
bind 0.0.0.0:10068
default_backend zabbix-backend
backend zabbix-backend
balance hdr(appserver)
server zabbix01.stg zabbix01.stg:80 check inter 10s rise 1 fall 2
# option httpchk GET /
# http-check expect status 200,401,302
{% endif %}
{% if env == "production" %}
frontend zabbix-frontend
bind 0.0.0.0:10068
default_backend zabbix-backend
backend zabbix-backend
balance hdr(appserver)
server zabbix01 zabbix01:80 check inter 10s rise 1 fall 2