haproxy: zabbix returns either 200 or 401 - maybe this way?
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
36de1196e1
commit
23c7ef8c20
1 changed files with 1 additions and 2 deletions
|
@ -494,6 +494,5 @@ backend zabbix-backend
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
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 200,401
|
||||||
http-check expect status 200
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue