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:
David Kirwan 2023-11-15 08:10:44 +00:00
parent aaf8fec811
commit 6461430ae3
No known key found for this signature in database
GPG key ID: A5893AB6474AC37D

View file

@ -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