19
0
Fork 0

Fix mysql httpchk

This commit is contained in:
vlaborie 2018-10-02 11:31:15 +02:00
parent c5cadadeeb
commit 743e8201f0
1 changed files with 1 additions and 1 deletions

View File

@ -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 <<EOF
HTTP/1.0 ${return}