Updated clustercheck, intended to be standalone service for the reporting of Percona XtraDB cluster nodes.
This module requires MySQLdb package for python to function, aswell as a present ~/.my.cnf for the use the service will run as.
This version is rewritten to use Python twisted, so this module is required.
To start at run time via sysvinit (largely deprecated): echo "/usr/bin/clustercheck -f /etc/my.cnf >> /var/log/clustercheck.log 2>&1 &" >> /etc/rc.local
clustercheck supports systemd notify (READY and WATCHDOG). To enable the features, adjust your .service file and add:
[Service]
Type=notify
WatchdogSec=10
There are some basic unittests which can be called via tox
:
tox -epy37
There are also linter tests available. Theses can be executed via tox
:
tox -epep8
- fork it.
- Create a branch (
git checkout -b my_markup
) - Commit your changes (
git commit -am "I made these changes 123"
) updating AUTHORS.txt - Push to the branch (
git push origin my_markup
) - Create an Issue with a link to your branch