haproxy: zabbix returns either 200 or 401 - maybe this way?

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2021-03-17 16:49:43 +01:00
parent 36de1196e1
commit 23c7ef8c20

View file

@ -494,6 +494,5 @@ backend zabbix-backend
balance hdr(appserver)
server zabbix01 zabbix01:80 check inter 10s rise 1 fall 2
option httpchk GET /
http-check expect status 401
http-check expect status 200
http-check expect status 200,401
{% endif %}