olafz / percona-clustercheck

Script to make a proxy (ie HAProxy) capable of monitoring Percona XtraDB Cluster nodes properly. The clustercheck script is distributed under the BSD license.
BSD 3-Clause "New" or "Revised" License
173 stars 108 forks source link

Parametrize timeout and consider Galera timeouts #14

Open paescuj opened 9 years ago

paescuj commented 9 years ago

Make the timeout value parameterizable, like the other values.

What where your thoughts about the timeout value of 10? I think the correct value should be >15s because of the evs.inactive_timeout of 15s coming from Galera, so we have to wait at least 15s to retrieve a defined status. Please correct me if I am wrong. I'm open for discussions.