Best practises to monitor galera cluster

Or, if you really need to test the plugin separately, then set the variable “on the fly” in the command call, like

sudo sh -c "MK_CONFDIR=/etc/check_mk /usr/lib/check_mk_agent/plugins/mk_mysql

No need to modify the plugin.

1 Like