From 743e8201f02ca8e79064cca1b44fb7e553b81c02 Mon Sep 17 00:00:00 2001 From: vlaborie Date: Tue, 2 Oct 2018 11:31:15 +0200 Subject: [PATCH] Fix mysql httpchk --- HowtoHaproxy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HowtoHaproxy.md b/HowtoHaproxy.md index edcbcee8..02463304 100644 --- a/HowtoHaproxy.md +++ b/HowtoHaproxy.md @@ -322,7 +322,7 @@ return="503 Service Unavailable" # Mysql is up but replication is not ok, return a 404 # You may want to comment this line in master/master mode # It disable server (NOLB status) when replication is down or lagging -/usr/lib/nagios/plugins/check_mysql -f /etc/mysql/debian.cnf --check-slave -c 60 >/dev/null || return="404 OK" +/usr/lib/nagios/plugins/check_mysql -f /etc/mysql/debian.cnf --check-slave -c 60 >/dev/null || return="404 Not Found" cat <