17 Commits

Author SHA1 Message Date
Michelle f5ac2a26f1 rewrite to use mariadb instead of mysql 2026-04-15 11:14:41 +02:00
Yoann Laissus aa17849014 Force the script to use the default locale (#5)
In french for example, decimal separator is a comma, not a period.
So it breaks mathematical computation.
2021-06-02 15:18:30 +02:00
Guillaume Coré 9f9ccf6151 Handle scientific notation output
Fixes #4
2021-04-01 11:13:51 +02:00
Claudio Kuenzler cf3a33bf5a Several improvements, security and speed (#3) 2021-04-01 10:30:14 +02:00
staf 9669a033f6 extra features; extra mysql config file, detect disconnected nodes (#2)
* added
        -m MySQL extra my.cnf configuration file
        -s Create state file, to detect when a node gets disconnected

* description updated
2018-06-05 10:18:29 +02:00
Guillaume Coré a2c3e53856 use 'command' built-in command instead of 'which' 2018-01-19 19:03:32 +01:00
Guillaume Coré 5c6afec820 Revert "Catch Case, where not parameter was given."
This reverts commit e8e758c8dd.

check_galera_cluster can be run without any argument.
2018-01-19 19:03:08 +01:00
Andreas Bauer edfc05f10d More detailed output 2017-08-04 16:05:23 +02:00
Andreas Bauer 94a964a612 Version bump 2017-08-04 15:34:49 +02:00
Andreas Bauer 88b2ee2be9 Check, if all required programs are installed 2017-08-04 15:34:18 +02:00
Andreas Bauer e8e758c8dd Catch Case, where not parameter was given. 2017-08-04 15:20:00 +02:00
Ales Nosek 4ea9e83e67 Make the USER and PASSWORD parameters optional 2016-07-20 22:55:24 +02:00
Guillaume Coré 10802af0c4 check more status variables :
* wsrep_ready (ON)
    * wsrep_connected (ON)
    * wsrep_local_state_comment (Synced)

    Also add --batch and --skip-column-names to mysql command (get rid
    of grep)
2013-06-19 15:43:34 -04:00
Guillaume Coré 40869fb2b4 Fix default return code 2013-05-03 16:30:19 -04:00
Guillaume Coré 123a8e2b57 indent properly 2013-04-25 14:25:48 -04:00
Guillaume Coré f910d9e246 Add wsrep_flow_control_paused check
If this value is > 0.1 usually there is a problem.
  Also add default exit value to UNKNOWN.
2013-04-24 18:09:32 -04:00
Guillaume Coré e547044a5c Initial commit 2013-04-24 17:08:58 -04:00