add clustercheck script (avoid splitbrain)
diff --git a/README.rst b/README.rst
index a116d44..a378905 100644
--- a/README.rst
+++ b/README.rst
@@ -68,7 +68,6 @@
password: clustercheck
database: '*.*'
grants: PROCESS
- grant_option: False
- name: inspector
host: 127.0.0.1
password: password
@@ -76,17 +75,31 @@
mydb:
- database: mydb
- table: mytable
- - grant_option: False
+ - grant_option: True
- grants:
- all privileges
+Additional check params:
+
+.. code-block:: yaml
+
+ galera:
+ clustercheck:
+ - enabled: True
+ - user: clustercheck
+ - password: clustercheck
+ - available_when_donor: 0
+ - available_when_readonly: 1
+ - port 9200
+
+
Usage
=====
MySQL Galera check sripts
.. code-block:: bash
-
+
mysql> SHOW STATUS LIKE 'wsrep%';
mysql> SHOW STATUS LIKE 'wsrep_cluster_size' ;"