From 36de1196e1b61964b5d8bf641c261388f2bcee0c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 17 Mar 2021 16:45:58 +0100 Subject: [PATCH] haproxy: zabbix returns either 200 or 401 Signed-off-by: Pierre-Yves Chibon --- roles/haproxy/templates/haproxy.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index d965003c6f..03a6220da3 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -495,4 +495,5 @@ backend zabbix-backend server zabbix01 zabbix01:80 check inter 10s rise 1 fall 2 option httpchk GET / http-check expect status 401 + http-check expect status 200 {% endif %}