haproxy: zabbix returns either 200 or 401
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
ea9d107ef8
commit
36de1196e1
1 changed files with 1 additions and 0 deletions
|
@ -495,4 +495,5 @@ backend zabbix-backend
|
||||||
server zabbix01 zabbix01:80 check inter 10s rise 1 fall 2
|
server zabbix01 zabbix01:80 check inter 10s rise 1 fall 2
|
||||||
option httpchk GET /
|
option httpchk GET /
|
||||||
http-check expect status 401
|
http-check expect status 401
|
||||||
|
http-check expect status 200
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue